Per process virtual memory soft and hard limit runtime info
Submitted by floatingleaf on Wed, 09/10/2008 - 12:16.
Printer-friendly version
Hey guys,
I am new to this forum so may be this is going to a wrong thread ... however it is the best I could manage ... I need to check the runtime limits of per process virtual memory ... getrlimit() is giving me RLIM_INFINITY!! Also, I am working with a 32 bit Redhat system. Even though the allowable limit should be 3 GB, the maximum dynamic memory I can allocate is ~ 2 GB (I just tried brute force iterations!). Is it because of the long datatype problem? Thanks in advance.

