Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Memory usage problem: Shared libraries not shared between processes with QNX 7.0: (1 Item)
   
Memory usage problem: Shared libraries not shared between processes with QNX 7.0  
As an experiment I wrote a really minimal C program, which just does sleep(3600), nothing else.
I linked this program to Qt libraries (The libraries occupy 15 MB).

When executing this test-app, I notice via "pidin info" that the free memory goes down by 15 MB.
The problem is, if I open 10 instances of this program then the free memory goes down by 150 MB, and when it reaches 0, 
no more programs can be opened.

When running the same on QNX 6.5.0 it only goes down by 500 KB, which is expected, since the libraries .code sections 
are shared between processes.

Is this something that can be configured ?