Do you know why you are running out of RAM? I assume it’s your application(s) that are running out of RAM but is it because:
You are leaking memory?
You are malloc’ing a lot of memory?
Your application files are large (disk size) so they are using lots of memory?
If it’s #1, you might want to fix the problem.
If it’s #3, you may want to link using shared libraries instead of statically to save RAM.
If it’s #2 you can always implement your own swap of malloced memory.
There is an application which run / load MAP for Car Navigation. The file is ~ 20GB and it is IMG file which is mounted like normal qnx6 FS. The application load to RAM some part of file, then it is runned out
No idea if there is a chance to fix it somehow. How to implement swap file if I have no source code for the application which loads maps ?
If you don’t have the source code to the application that loads maps then there is nothing you can do besides increase the RAM in your system.
It’s quite strange that an app would try to load an entire 20 gig file into memory when almost no systems have 20 gigs of RAM. Most load only a small part at a time and then load a different part as required (based on user interaction / vehicle moving etc). Is there no documentation with that map loading application?