Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumseclipselink flush mode out of memory
https://www.eclipse.org/forums/index.php/mv/msg/452721/1007742/#msg_1007742
In properties xml to encrease perfomance a make
eclipselink.persistence-context.flush-mode = COMMIT
As I see all inserts are made when transaction commit.
So when I give more test data I'l get out of memory exception.
Is there any option to say to JTA to flush when cache for insert too big. Or maybe I can make smth like : flush each 1000 rows. But will be cache limiting in Mb for example.]]>Andrew Petrov2013-02-07T11:31:57-00:00Re: eclipselink flush mode out of memory
https://www.eclipse.org/forums/index.php/mv/msg/452721/1007760/#msg_1007760
Chris Delahunt2013-02-07T12:35:10-00:00Re: eclipselink flush mode out of memory
https://www.eclipse.org/forums/index.php/mv/msg/452721/1007766/#msg_1007766
Because this property flush-mode seems like an legal memory leak. You just turn it on and there is a huge possibility to get out of memory.
Thanks for you answer, maybe there are any property that we don't know. Smth like to say : make commit every 100 sentencies]]>Andrew Petrov2013-02-07T12:55:55-00:00Re: eclipselink flush mode out of memory
https://www.eclipse.org/forums/index.php/mv/msg/452721/1007772/#msg_1007772
Chris Delahunt2013-02-07T13:20:57-00:00