Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Issue related to Tomcat memory setting

 
Garg Amit
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
 
Javid Jamae
Author
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please show us the error. Are you getting a Java stack trace, or a core dump? When do you get the error, on startup or after the system is operational for a while?
 
Garg Amit
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic