No more memory available

SOLVED

I have a web service that is currently running fine in V11.  We are upgrading to V12, and I am testing the web service, and I get a "No more memory available" message.  It also references TRT/ARCHIVE.adx, which I a not familiar with.  Does anybody know what this means?

  • +1
    verified answer

    Hi Denise, I am not 100% familiar with what exactly you are using web services for. when looking at the ARCHIVE.adx at the failed like 61, it is having an issue with the Blbfile BLOB. in this case it could be an attachment or source file used for import/export. The error is saying you have no more memory available which usually refers to session memory or the MAXMEM. it is also saying that the system failed to free memory or release back to the OS. Without a detailed explanation of the test it would be hard to point out exactly the issue.

  • +1
    verified answer

    Good day,

    The error has to do with a CLOB file being loaded and exceeding the set limit for the users folder connection. Increase the maxmem and maxheap variables on the Miscellaneous tab on the folder definition, log out and log back in. I have had this issue with instances where large attachments are either being generated or archived.

  • +1
    verified answer

    Hi Denise, 

    On the runtime, in order to throw this error the free memory has to be less than 0. It means that we tried to get the (max memory - the used memory) and we couldn't get that value, maybe the resources of adonix.exe or the machine were so burdened we could not get trustworthy results. This is probably not likely.

    Or, when trying to allocate new memory the amount of free memory is less than the difference being requested (free < diff = true in your case according to your log).

    As Regard Hulsbos - XKZero says, this can happen when we have an abnormally large object to allocate larger buffers for. The runtime will attempt to allocate new buffers (in groups) until the requested value is met or we reach a point of failure, which could mean we've reached the threshold in maxmem, or the system is literally out of resources. 

    ARCHIVE.adx is part of the supervisor layer and gets baked in when web services are used. Right around the line 61 as seen in your log, of course it depends on the version of the supervisor layer you have, but on my line 61 there is a declaration of a Blbfile. So, again, I like Regard Hulsbos - XKZero's point for your situation. 

    Let us know. 

  • 0 in reply to Delamater

    Hi Bob, we bumped up the maxmem, and the issue has been resolved.  Thank you!