Web application CRASHES after days of running, leaving a message like below:
Exception java.lang.OutOfMemoryError: requested 32756 bytes for ChunkPool::allocate. Out of swap space?
We then monitor the process with pmap, finding increments in pmapped memory looking like below.
These things are very strange: ordinary threads are rwx-- seperated by -----, however these are rw--- seperated by -----, I wonder what are these things in memory, who knows?
b90fd000 12K ----- [ anon ]
b9100000 3052K rw--- [ anon ]
b93fb000 20K ----- [ anon ]
b9400000 2032K rw--- [ anon ]
b95fc000 16K ----- [ anon ]
b9600000 928K rw--- [ anon ]
b96e8000 96K ----- [ anon ]
b9700000 3040K rw--- [ anon ]
b99f8000 32K ----- [ anon ]
b9a00000 4080K rw--- [ anon ]
b9dfc000 16K ----- [ anon ]
b9e00000 4084K rw--- [ anon ]
ba1fd000 12K ----- [ anon ]
ba200000 2040K rw--- [ anon ]
ba3fe000 8K ----- [ anon ]
ba400000 7136K rw--- [ anon ]
baaf8000 32K ----- [ anon ]