Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Out of Memory: (2 Items)
   
Out of Memory  
A customer is reporting that their application is attempting to use in excess of 3.5 GB of memory, and they are 
encountering the "out of memory" error condition. They are also using pre 6.3.0 SP2, possibly before the 36-bit 
addressing capability was added to x86 and PPC systems (customer system is x86).

- With 36-bit addressing support, can the application exceed 3.5 GB of memory used?

- How does one enable 36-bit addressing support? Is there a patch that needs to be installed, or some parameter on the 
procnto line in the IFS build file?

Their applications is a database server. The high amount of memory usage is not because there is a memory leak, it is 
due to the huge amount of logging that is being done.

Thanks in advance
RE: Out of Memory  

> -----Original Message-----
> From: Edward Lee [mailto:community-noreply@qnx.com]
> Sent: May-19-09 4:22 PM
> To: ostech-core_os
> Subject: Out of Memory
> 
> A customer is reporting that their application is attempting to use in
> excess of 3.5 GB of memory, and they are encountering the "out of
> memory" error condition. They are also using pre 6.3.0 SP2, possibly
> before the 36-bit addressing capability was added to x86 and PPC
> systems (customer system is x86).
> 
> - With 36-bit addressing support, can the application exceed 3.5 GB of
> memory used?

No, applications are still 32 bits.

> 
> - How does one enable 36-bit addressing support? Is there a patch that
> needs to be installed, or some parameter on the procnto line in the IFS
> build file?

Add -x to startup-bios

> 
> Their applications is a database server. The high amount of memory
> usage is not because there is a memory leak, it is due to the huge
> amount of logging that is being done.

Will have to break down their application into "sub applications", so each application can access 3.2G each, but they 
can have lots of those application.  To have more than 32 bit addressing per application would required switching to 
64bit mode, which QNX doesn't support at this time.

> 
> Thanks in advance
> 
> _______________________________________________
> OSTech
> http://community.qnx.com/sf/go/post29712
>