Reputation: 15
I've been using Dspace 5 for some time but now it is not working properly. I succesfully uploaded some data to dspace but now whenever i log in and start to navigate, some minutes later it goes blank and it doesn't show anything. The only solution is to restart tomcat server.
I checked error logs (dspace, tomcat, cocoon) but i couldn't find any clue about the error. Dspace is running over a VPS which has 1 GB ram and 80 GB SSD. I would like to know what can i do to find more info that let me solve this issue.
Upvotes: 0
Views: 752
Reputation: 5802
Considering the information you have given, namely the fact that it just occurs after a few minutes of random browsing. I would guess that this is due to tomcat running out of (permGen) memory-space after a certain amount of iterations. You can check for this in your logs.
I would suggest launching tomcat, and giving it more memory, using launch options like
-Xms128m -Xmx2048m -XX:PermSize=64m -XX:MaxPermSize=256m
You can see how much memory you actually need / can give it.
When you hit a memory issue like this, it should also be visible in the logs though. You said you could not find it, but I am quite sure that it is in the tomcat log somewhere. It is a bit odd that you could not find this, but not impossible to overlook I assume.
Upvotes: 1