Java OutOfMemoryError and heap - limit records returned.
13 views
Skip to first unread message
Cloverswift Solutions
unread,
Apr 22, 2014, 8:26:34 AM4/22/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to variman...@googlegroups.com
We have the Variman RETS 3.2.4 server and have been running it for awhile now. Every so often a user does a query that will return all records from one of our tables. This causes the Java OutOfMemoryError heap message with callstack to show up in the log. The problem is that once this happens, the Variman server no longer responds and all users are locked out. I've set record limits using groups for users (currently set to 10,000). However, when examining the native queries it seems there is no "limit" clause (I'm using MySQL). So it appears Variman is trying to grab all the records from the query and then do the limit (is this correct?). Is there a configuration to prevent Variman retrieving more the X records from a table? Thanks!