Skip to main content

Out of memory exception on client because of LiveRef

  2 posts   Feedicon  
Replies: 1 - Last Post: September 14, 2012 08:01
by: abhichandel
showing 1 - 2 of 2
Posted: September 06, 2012 12:03 by abhichandel
I have a cache of customers (around 30 GB) and a client of this customer cache. Cache exposes customer objects as pass by reference. The client fetches customers and updates them. The customers are wrapped in Remote object. The LiveRef to these customer objects are not being garbage collected at client side because of which app is going out of memory. Please let me know how to clear these LiveRefs from client.
Posted: September 14, 2012 08:01 by abhichandel
This got fixed with Remote.clientScope(). But with this a new problem arose: the application is now taking excessive cpu and most of the time goes in reading and writing object i.e marshaling and unmarshaling of objects.
Replies: 1 - Last Post: September 14, 2012 08:01
by: abhichandel
 
 
Close
loading
Please Confirm
Close