Hi

Good to hear, that is a low of records in that table.

You are welcome to add a section in the docs to emphasize this option
to limit the returned data when there is a lot of rows
http://camel.apache.org/jpa

How to edit  the docs
http://camel.apache.org/how-do-i-edit-the-website.html

On Thu, Mar 31, 2016 at 11:59 PM, raffi <raffi.onj...@gmail.com> wrote:
> Figured it out, forgot to set maximumResults on poller,
>
>  <from
> uri="jpa:com.rt.sfc.Account?maxMessagesPerPoll=15&amp;maximumResults=5
>
> Was pulling 100K+ rows, OOM every time :-)
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Camel-JPA-consumer-causing-Out-of-Memory-when-polling-table-tp5780168p5780197.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to