drew wrote:If I understand correctly, we're on Linux, our upload directory is set to:
/usr2/TrackStudioData/uploads
There is already a skipindex.flag file in that directory, you are suggesting we creates another skipindex.flag in the directory:
/usr2/TrackStudioData/uploads/index
I tried this and still got the OutOfMemoryError.
What amount of memory you have now ? What JDK you use ?
Please also send me your server startup options.
drew wrote:
Obviously it will vary from day to day, I would expect this project to finish with less than 13000 task, as for the number of messages a minimum of 3 per task. So daily average would be less than 100 tasks and messages combined.
That said, do I need to consider even more than 1.2 GB of memory?
No, 1 GB should be enough for 15000-20000 tasks. We was run ~8000 tasks and 25000 messages on 512 MB without major problems, but for 10000 1GB is better, just for decrease GC time.
Please also try to tune WEB-INF/classes/cache.ccf to decrease
jcs.default.cacheattributes.MaxObjects=10000
and
jcs.default.elementattributes.MaxLifeSeconds=7200.
Actually, TrackStudio need not too much memory to run. But it stores objects in cache during MaxLifeSeconds, after GC can collect this objects. Problems occurs when TrackStudio store too many objects and GC can't collect them because their life time below MaxLifeSeconds. After full GC memory requirements drops to 150-200 MB for our database.
The another point - many projects with deep hierarchy require less memory for caching, then 1 project with many tasks.
PS. How you populate long (2000+ chars) task description/message description ? You should use GR_LONGTEXT for them.
