Skip to main content



      Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [CDO] server memory leak
[CDO] server memory leak [message #102438] Mon, 12 November 2007 14:11 Go to next message
Eclipse UserFriend
Eike,

Having great success now....

However, I left the server and one client running over the weekend and
when I came in this morning the server had thrown an out of memory error
and I had to restart. Just wanted you to know.

Mark.
Re: [CDO] server memory leak [message #102488 is a reply to message #102438] Tue, 13 November 2007 02:19 Go to previous message
Eclipse UserFriend
Originally posted by: stepper.sympedia.de

Mark Geib schrieb:
> Eike,
>
> Having great success now....
So far so good ;-)

> However, I left the server and one client running over the weekend and
> when I came in this morning the server had thrown an out of memory
> error and I had to restart. Just wanted you to know.
Can you please open a bug so we can trace this issue? Please describe
briefly in the Bugzilla what your client has been doing during that time.

The biggest memory eater in the server is the RevisionManager. In the
coarse of https://bugs.eclipse.org/bugs/show_bug.cgi?id=203538 I have
reimplemented the revision cache to have a fixed size that can be
configured via cdo-server.xml. May be you have to adjust the cache sizes
for revisions and for historical revisions. Of course the leak can also
be at another place.

BTW. did you know that the following two things are impossible in Java:
1) Determine the overall size of free memory that is still available
2) Implement a memory sensitive cache with a configurable eviction policy

Both issues are discussed in the above Bugzilla.

Regards,
Eike Stepper
----
http://wiki.eclipse.org/?title=CDO
http://wiki.eclipse.org/?title=Net4j
Re: [CDO] server memory leak [message #612490 is a reply to message #102438] Tue, 13 November 2007 02:19 Go to previous message
Eclipse UserFriend
Mark Geib schrieb:
> Eike,
>
> Having great success now....
So far so good ;-)

> However, I left the server and one client running over the weekend and
> when I came in this morning the server had thrown an out of memory
> error and I had to restart. Just wanted you to know.
Can you please open a bug so we can trace this issue? Please describe
briefly in the Bugzilla what your client has been doing during that time.

The biggest memory eater in the server is the RevisionManager. In the
coarse of https://bugs.eclipse.org/bugs/show_bug.cgi?id=203538 I have
reimplemented the revision cache to have a fixed size that can be
configured via cdo-server.xml. May be you have to adjust the cache sizes
for revisions and for historical revisions. Of course the leak can also
be at another place.

BTW. did you know that the following two things are impossible in Java:
1) Determine the overall size of free memory that is still available
2) Implement a memory sensitive cache with a configurable eviction policy

Both issues are discussed in the above Bugzilla.

Regards,
Eike Stepper
----
http://wiki.eclipse.org/?title=CDO
http://wiki.eclipse.org/?title=Net4j
Previous Topic:Access EMF EAnnotation with Code
Next Topic:[CDO] need help with difficult problem
Goto Forum:
  


Current Time: Sat Jul 05 03:09:24 EDT 2025

Powered by FUDForum. Page generated in 0.05689 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top