I am using Tomact 4.1. When we run the tomcat with memory setting(600,1498) then it does not work it gives memory error where as when we run with the (512,1280), it work correctly.
Physical RAM available is 2GB.
Application call native dlls written in C++.
1. Could any suggest why it is happening? We are decreasing the memory setting in second case but that gives us the correct result.
2. Amount of memory which the c++ code would need, from where it would be assigned. it would be assigned from memory which we have assigned from tomcat setting or it would be assigned from remaining physical memory on RAM.
Actually system is operational. When we try some functionality that interact with c++ code the we get the error. We are not getting any java stack trace. Point at which application call the native c++ function we get error from that function.
Dll which is written in c++ and unfortunately we don't have source code for that.. I'm just trying to figure out the possibilities.....