Alaska Software Inc. - Re: Memory problems with oPrinter:list()
Username: Password:
AuthorTopic: Re: Memory problems with oPrinter:list()
Andreas Gehrs-Pahl

View the complete thread for this message in:

Re: Memory problems with oPrinter:list()
on Fri, 05 Feb 2016 13:47:19 -0500
Klemens,

>Base/1005
>Not enough memory
>operation::List

This is interesting. I have seen the Xbase++ Sub-System Error Code "1005" 
so far only in XppFatal logs. The Error Description for this code is:
"There is not enough Allocation Space", and it is associated with Xbase++ 
General Error Code: "15", with Error Description" "Not enough memory or 
swapping space available".

>The computer he is working on has 16 GB RAM, it should be enough.

Xbase++ creates 32-bit Windows applications, and each Xbase++ application 
can't use more than about 800 MB of RAM for variables and data, no matter 
how much physical RAM is available for the OS.

>Is there anyone that has an idea what causes this error and what to do 
>to avoid it?

It could be that XbpPrinter():List() creates a very large array, or that the 
available memory is already very low, when this method is called. If you 
have access to the customer's system, you could use a small test program, 
and see what XbpPrinter():List() actually returns.

Hope that helps (at least somewhat),

Andreas

Andreas Gehrs-Pahl
Absolute Software, LLC

phone: (989) 723-9927
email: Andreas.GP@Charter.net
web:   http://www.Aerospace-History.net