camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Palsson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-2899) out of heap space if remote FTP site has too many files to pick up
Date Fri, 02 Jul 2010 17:07:52 GMT

    [ 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://sms02@localhost:2121/autre
q/ok?delay=5000&filter=%23conaxRequestFilter&maxMessagesPerPoll=50&move=.process
ed&passiveMode=true&password=sms02] could not poll endpoint: ftp://sms02@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.


Mime
View raw message