EOF related objects present a lot in the heap

2013-04-26 Thread Joseph Pachod
Hi When looking at some memory dumps, I see huge numbers of EOF related instances, such as, by decreasing order and with % of instance nb and % of heap size : - _EOHandlerWeakRef 5,8% - 5,1%, - EOAccessArrayFaultHandler 5,7% - 6,6% - _EOCheapCopyMutableArray 2,9% - 1% -

Re: anyone want to test an update to golipse?

2013-04-26 Thread Tim Worman
All: I forked and updated David LeBer's go_wolips script (which was a fork of Mike Schrag's original). My fork lives here: https://gist.github.com/timsquared/5454092 It has been updated to download Eclipse 3.8.2 (Juno) and also use the Juno update site. Other updated update sites (and

Re: EOF related objects present a lot in the heap

2013-04-26 Thread Chuck Hill
Are you using the session's default editing context exclusively? For memory usage optimization it is best to treat that as a read only editing context and just use it for session spanning objects (like the current user, their roles and permissions). Then on each page, or in each stream of

Re: EOF related objects present a lot in the heap

2013-04-26 Thread Henrique Prange
Hi Joseph, You can also completely disable the undo registration to save some memory: editingContext.undoManager().disableUndoRegistration(); Of course, editingContext.undo() and editingContext.redo() will not work in this scenario. Cheers, Henrique On 26/04/2013, at 14:12, Chuck Hill

Re: EOF related objects present a lot in the heap

2013-04-26 Thread Chuck Hill
That can cause problems if the saveChanges fails, EOF uses the undo stack to revert partially saved changes. I think... that is for things like cascade delete rules. Chuck On 2013-04-26, at 10:30 AM, Henrique Prange wrote: Hi Joseph, You can also completely disable the undo registration

Re: anyone want to test an update to golipse?

2013-04-26 Thread Bastian Triller
Eclipse 3.8.2 != Eclipse Juno [1] [1]: http://en.wikipedia.org/wiki/Eclipse_%28software%29#Releases On Fri, Apr 26, 2013 at 09:07:05AM -0700, Tim Worman wrote: All: I forked and updated David LeBer's go_wolips script (which was a fork of Mike Schrag's original). My fork lives here:

Re: anyone want to test an update to golipse?

2013-04-26 Thread Tim Worman
Bastian: I appreciate your email and your opinion. Eclipse 3.8 and 4.2 are both part of the Juno release. I found through this process that the information about Eclipse 3.8 is all over the map - there are quite a few different understandings out there about what 3.8 is - exactly. You'll

Re: EOF related objects present a lot in the heap

2013-04-26 Thread Ramsey Gurley
I think you are simply finding that in memory sessions use up memory. Consider using persistent sessions. That moves them out of memory and into the datastore. Advantages of memory sessions: * Easier * Faster Disadvantages of memory sessions: * Doesn't scale well. Sessions eat up all

Re: anyone want to test an update to golipse?

2013-04-26 Thread Tim Worman
Hi David: The plugin install is done by the P2 director script which should be downloaded to /tmp (then deleted at completion). I haven't made any changes in the way that works. I haven't run go_wolips from within my target directory but I'll give it a try to test. What's interesting from

Re: EOF related objects present a lot in the heap

2013-04-26 Thread Chuck Hill
On 2013-04-26, at 12:12 PM, Ramsey Gurley wrote: I think you are simply finding that in memory sessions use up memory. Consider using persistent sessions. That moves them out of memory and into the datastore. Advantages of memory sessions: * Easier * Faster Disadvantages of memory

Re: anyone want to test an update to golipse?

2013-04-26 Thread Tim Worman
It only works with the full path as an argument. I am going to insert a check for . though and I will push the change up. It's a reasonable thing to check for and replace. You could do this now though without the change: . go_wolips `pwd` Tim On Apr 26, 2013, at 12:20 PM, Tim Worman

Re: EOF related objects present a lot in the heap

2013-04-26 Thread Ramsey Gurley
On Apr 26, 2013, at 12:21 PM, Chuck Hill wrote: On 2013-04-26, at 12:12 PM, Ramsey Gurley wrote: I think you are simply finding that in memory sessions use up memory. Consider using persistent sessions. That moves them out of memory and into the datastore. Advantages of memory

Re: EOF related objects present a lot in the heap

2013-04-26 Thread Joseph Pachod
Thanks a lot all for your answers. I'm new to the application I'm working, as well as EOF/WebObjects/Wonder, so excuse my naive questions and maybe incomplete answers. To put a bit of context, the application is a quite large one, spanning for more than a decade and quite some developers. So

Rule Modeler Spinning Beach Ball

2013-04-26 Thread Johnny Miller
Hi, Is there any trick to getting Rule Modeler to not take forever to make a save? I've retried restarting eclipse and rule modeler. I'm on OS X 10.8.3 using Eclipse 3.8.1 Java 1.7 TIA, Aloha, Mr. Johnny Miller Web Development Manager Kahalawai Media Company Lahaina, HI 96761 tel: (808)

Re: Rule Modeler Spinning Beach Ball

2013-04-26 Thread David LeBer
I've seen this when switching between workspaces. Try quitting RuleModeler, and Eclipse, then launch Eclipse, open the workspace, and then launch RuleModeler. D -- David LeBer Codeferous Software On 2013-04-26, at 8:55 PM, Johnny Miller jlmil...@kahalawai.com wrote: Hi, Is there any