Just a guess, but 90mb * 300K == 27,000,000mb

It appears that each iteration of the transformation is not releasing the
reference to each new Client.

---
Thank You…

Mick Knutson, President

BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233

Website: http://www.baselogic.com
Linked IN: http://linkedin.com/in/mickknutson
Twitter: http://twitter.com/mickknutson
Vacation Rental: http://tahoe.baselogic.com
---



On Tue, Feb 2, 2010 at 5:24 PM, john robens <jrob...@interlated.com.au>wrote:

> Hi again
>
> This one -
>
> from("file:../../../data/
>
> clients?noop=true").convertBodyTo(Client.class).to("jpa:au.com.interlated.server.domain.Client");
>
> I uploaded 300k records - 90mb in total. The java image said it had 2.7Gb
> of
> RAM allocated before it bombed out due to heap space.
>
> Client.class is just a spring entity bean - xml annotations.
>
> Cheers
> John
>
>
> --
> http://interlated.com.au
> 0434 996 607
>

Reply via email to