[ https://issues.apache.org/activemq/browse/CAMEL-2899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60410#action_60410 ]
Karl Palsson commented on CAMEL-2899: ------------------------------------- Seemed very reasonable, but unfortunately, it doesn't help.... 2010-07-02 17:02:42,327 FATAL Consumer Consumer[ftp://sm...@localhost:2121/autre q/ok?delay=5000&filter=%23conaxRequestFilter&maxMessagesPerPoll=50&move=.process ed&passiveMode=true&password=sms02] could not poll endpoint: ftp://sm...@localho st:2121/autreq/ok?delay=5000&filter=%23conaxRequestFilter&maxMessagesPerPoll=50& move=.processed&passiveMode=true&password=sms02 caused by: Java heap space java.lang.OutOfMemoryError: Java heap space I tried again without file filter, (just an ant pattern name matcher) in case that was causing any problems, but it still fails. > out of heap space if remote FTP site has too many files to pick up > ------------------------------------------------------------------ > > Key: CAMEL-2899 > URL: https://issues.apache.org/activemq/browse/CAMEL-2899 > Project: Apache Camel > Issue Type: Bug > Components: camel-ftp > Affects Versions: 2.3.0 > Reporter: Karl Palsson > > 2010-07-02 11:38:07,439 FATAL > [org.apache.camel.component.file.remote.FtpConsumer:CamelThread 10] - > <Consumer Consumer[my_ftp_URI_here caused by: Java heap space> > java.lang.OutOfMemoryError: Java heap space > My remote FTP server has ~60k 100 byte files, and the camel endpoint consumer > falls over and doesn't start again. I can use JMX to stop/start the > consumer, (it still has status "started") and it will log in to the remote > server again, but then fall over with the out of heap space. > I can work around this by increasing the heap, or by moving some of the files > aside, but I don't think camel should care how many files there are, or at > least, I think it should deal with it more gracefully. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.