Maximum number of memory segments that Notes can support has been exceeded

Hi error gurus :wink:

we have an agent which runs on the user’s client, triggered after the client starts

at some user’s it throws this:

Error 4000: Notes error: Maximum number of memory segments that Notes can support has been exceeded

at this script line:

Set lookupview = db.GetView(CLookupViewName)

is there sth I can check, debug or change at these users? or a workaround in the code?

thanks in advance

Uwe

Subject: try this

you probably have some kind of database corruption.try doing the following right after eachother when the first has finished do next

load fixup

load compact

load updall

/Fredrik

Subject: It may be that this message is actually caused by your exceeding the limit of the maximum number of memory segments

In which case, you might look at how much memory your script is allocating, and in particular whether there are a lot of NotesXxx objects in memory – NotesDocument, NotesView, NotesItem, and so on – before the point at which you try to open a view and finally run out.

Subject: sorry for the late response Andre …

… XMAS and so on …and I need some time to make further “tests” …

meanwhile we see this also in the server log (and as a server message when a client tries to connect to that server):

Maximum number of memory segments that Notes can support has been exceeded on remote server.

We had this earlier on our 8.0.2 servers, and therefore upgraded all to 8.5.1 (IBM told us).

But that error appears again.

Uwe