Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] What is a RepeatableWriteUnitOfWork?

Again,

Thanks! That helps :-)

Cheers,
Markus

Am 03.09.2013 18:39 schrieb "Tom Ware" <tom.ware@xxxxxxxxxx>:
This will hold references to every object you persist/merge into your entity manager between calls to clear.  It has no limit on its size.  The spec does not allow us to arbitrarily drop objects from it, the spec expects users to manage it.

I am not certain why it is attached to your HttpSessions.  I would guess that relates in someway to where you are injecting it.

-Tom

On 03/09/2013 12:35 PM, Markus Eisele wrote:

Thanks Tom,

You're saying that this contains the complete first level cache? Why do I find that attached to my HttpSessions? Can you elaborate a bit more?
What is the maximum size this can grow to?

Cheers,
M

Am 03.09.2013 18:32 schrieb "Tom Ware" <tom.ware@xxxxxxxxxx>:
The RepeatableWriteUnitOfWork is the object that backs an EntityManager.  One thing you could do to reduce the size of it is to clear you entityManager more often.

-Tom

On 03/09/2013 12:24 PM, Markus Eisele wrote:

Hi all,

I'm analyzing a Heap Dump at the moment. It seems as if we have some big HttpSessions.
The actual entities which get displayed on the JSF views are let's say about 400k ... A corresponding RepeatableWriteUnitOfWork object roughly 13.5 MB.
Is there any documentation available on that 'thing'?
What is it and what does it do?
Any hints for what to watch out and find the reasons are greatly appreciated.

Thanks,
Markus



_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users


_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users



_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users


_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users


Back to the top