Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Performance issues persisting large amounts of similar entities
icon5.gif  Performance issues persisting large amounts of similar entities [message #655699] Tue, 22 February 2011 05:59 Go to previous message
Rice Bauer is currently offline Rice Bauer
Messages: 3
Registered: February 2011
Junior Member
Hi everybody!

Our application needs to persist results of mathematical calculations. A result is represented by curves.
There is an entity for a result, an entity for a curve and an entity for a point of a curve (with doubles for x and y).
The result maintains a oneToMany relationship to the curve and the curve maintains a oneToMany relationship to the point.

Now it is not uncommon to have hundreds of curves and thousands of points per curve in one result making a total half a million points.

So, em.persist(result) either takes a couple of minutes to complete, which is unpleasent or a couple of minutes to throw an "OutOfMemoryError: Java heap space", which, of course, is inacceptable.

Are there JPA / EclipseLink means to speed things up?

Thanks
 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Previous Topic:[Resolved] Load a external jar with entities and persistence.xml
Next Topic:Foreign Key Constraint Issue Involving One-To-Many and Many-To-One Relationship in EcliplseLink2.1.
Goto Forum:
  


Current Time: Thu May 23 08:44:55 EDT 2013

Powered by FUDForum. Page generated in 0.01661 seconds