The total database size is about 12GB and the queries are searching some 50 thousand documents (and growing daily). The database is running on Derby (which I wish was different only because I think it might be faster on SQL and the case sensitive searches are a pain).
I use indexing a lot and they system has a lot of references. Plus the queries typically need to do functions like matching the office of the LoggedInRegularUser then matching a date range before pulling the query. It is much faster in V4 but still can take 5 to 7 minutes at times.
Server is a Windows Box with 4GB of RAM. I have played with memory settings over and over again. Currently running 1GB for Aware and 500 for Tomcat and 500 for JBoss leaving 2GB for the server.
I'm unsure of the best settings and have read all the posts on memory; my current problem is that the Printer Friendly and Export Functions don't want to run which I feel is a memory problem also.
The system has a lot of file attachments being uploaded so this is also a factor in memory.
I am open for all suggestions. I would push the server to 12GB of RAM but my server is sitting at GoDaddy and they won't go past 4GB??? (Between you and me GoDaddy is OK but a pain to deal with even on a dedicated server.)