Re: issue with tomcat server

2013-08-21 Thread Michael Joyner
You need to change how much memory java is allowed to allocate for the tomcat process. The default is rather small. On Tue, Aug 20, 2013 at 4:56 PM, fedex shashankgris...@gmail.com wrote: For my application I am writing 1 million records to the csv file. It works fine when I run in dev mode

Re: issue with tomcat server

2013-08-21 Thread Juan Pablo Gardella
I've created a file with 6M of records using http://ostermiller.org/utils/CSV.html without java heap memory issue. I think increment the memory it is a workaround and isn't the solution. Check how much records you are putting in memory. 2013/8/21 Michael Joyner mich...@newsrx.com You need to

Re: issue with tomcat server

2013-08-21 Thread fedex
how to change it? any idea? On Wednesday, August 21, 2013 9:10:22 AM UTC-5, Michael Joyner wrote: You need to change how much memory java is allowed to allocate for the tomcat process. The default is rather small. On Tue, Aug 20, 2013 at 4:56 PM, fedex shashan...@gmail.com javascript:

Re: issue with tomcat server

2013-08-21 Thread fedex
hey juno how to check how many records I am putting in the memory? On Wednesday, August 21, 2013 9:14:01 AM UTC-5, Juan Pablo Gardella wrote: I've created a file with 6M of records using http://ostermiller.org/utils/CSV.html without java heap memory issue. I think increment the memory it

Re: issue with tomcat server

2013-08-21 Thread Juan Pablo Gardella
Try a run a test and explore the memory with some tool: (visualvm, jconsole, yourtoolkit, http://www.eclipse.org/mat/ ). If you are reading from JDBC remember to use TYPE_FORWARD_ONLYhttp://docs.oracle.com/javase/7/docs/api/java/sql/ResultSet.html#TYPE_FORWARD_ONLYin the resultset to reduce the

Re: issue with tomcat server

2013-08-21 Thread Michael Prentice
http://stackoverflow.com/questions/8446704/memory-allocation-in-tomcat On Wednesday, August 21, 2013 11:41:02 AM UTC-4, fedex wrote: how to change it? any idea? On Wednesday, August 21, 2013 9:10:22 AM UTC-5, Michael Joyner wrote: You need to change how much memory java is allowed to

issue with tomcat server

2013-08-20 Thread fedex
For my application I am writing 1 million records to the csv file. It works fine when I run in dev mode but when I deploy the application on tomcat it throws java heap memory issue? why? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To