--
Did you find this reply useful? Help the Railo community and add it to the Railo Server wiki at https://github.com/getrailo/railo/wiki
---
You received this message because you are subscribed to the Google Groups "Railo" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/1fdbec10-7b02-48a6-bb34-7cdb6a2b4546%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/740e5d85-8c5d-48d7-a7f3-e1a8c5817f46%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-- Igal Sapir Railo Core Developer http://getRailo.org/
--
Did you find this reply useful? Help the Railo community and add it to the Railo Server wiki at https://github.com/getrailo/railo/wiki
---
You received this message because you are subscribed to the Google Groups "Railo" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/cada6751-a0aa-4c16-ae1d-5ecaa1815c22%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-- Igal Sapir Railo Core Developer http://getRailo.org/
You received this message because you are subscribed to a topic in the Google Groups "Railo" group.To view this discussion on the web visit https://groups.google.com/d/msgid/railo/5328FB6B.1010402%40getrailo.org.
Unsurprisingly, the heap has stayed under control. Is there a way to run the dump from a command line? Once I run out of heap space, I won't be able to run the page with the cfadmin tag.
--
Did you find this reply useful? Help the Railo community and add it to the Railo Server wiki at https://github.com/getrailo/railo/wiki
---
You received this message because you are subscribed to a topic in the Google Groups "Railo" group.To view this discussion on the web visit https://groups.google.com/d/msgid/railo/fbb926c7-dfea-41cf-991d-c52f4398f2ec%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/6284dd5f-8c20-4273-9728-91857916ca43%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/CALbQ1om6TircJ194_1L8yvpfi5R2_pYH%2Be4nCh0XDSkqXHaEOw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/532915D0.7040702%40getrailo.org.
You received this message because you are subscribed to a topic in the Google Groups "Railo" group.To view this discussion on the web visit https://groups.google.com/d/msgid/railo/05e44a54-88d8-4b94-9bb0-32189fa48de6%40googlegroups.com.
I finally got the full memory dump. Out of a total heap of 740.4 MB, 697.5 MB was taken up by one instance of "java.util.concurrent.ConcurrentHashMap$Segment[]". I'm looking through the code to see what query might be causing this, but I don't think any of them is pulling that much data.
This issue does not occur on the dev server. The two machines have similar specs, the only difference being the problem server is running 64bit centos and the dev is still 32bit. Is there any chance the architecture difference could be causing the increased memory usage on the problem machine?
...
--
Did you find this reply useful? Help the Railo community and add it to the Railo Server wiki at https://github.com/getrailo/railo/wiki
---
You received this message because you are subscribed to the Google Groups "Railo" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/CAPsSNqO4yiPT-w9S7Fj-0X0awJ9V9hpf0%3DNSPCUcwuZGDFb1Vw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/53305D66.4060405%40getrailo.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/B813FD9C-37E6-491B-9AED-3D965FF61C81%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/48c9891a-4f4e-4b7e-bc4e-5e38f4946bdc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
even 1GB is too low IMO. memory nowadays is cheap and adding some more RAM should be much cheaper than all the time you've spent so far debugging this issue. I strongly recommend adding more memory.
On 3/24/2014 9:59 AM, Mike817 wrote:
1. It definitely seems to happen overnight when I'm running a couple data scripts. I'm going to have to look into that a little more.
2. I thought I was setup to run it with 1GB. I have 2 total and I need to save a little for apache and the mail server, so I figured a gig was the best number. I'm still learning about tweaking the server settings so I probably did it wrong. My setenv is: JAVA_OPTS="-Xms512m -Xmx1024m -XX:MaxPermSize=128m -javaagent:/opt/railo/lib/railo-inst.jar -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/javadumps/"
...
Throwing hardware at poor code will only get you so far...
--
Did you find this reply useful? Help the Railo community and add it to the Railo Server wiki at https://github.com/getrailo/railo/wiki
---
You received this message because you are subscribed to the Google Groups "Railo" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/CAPsSNqNm_hULFe_YSfCYpJz4V_Fe%3DOLQG%2BMdxFdfVm52cp0dFw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
1. It definitely seems to happen overnight when I'm running a couple data scripts. I'm going to have to look into that a little more.