on 12-03-2010 8:21 AM
Hi all,
I am trying to transfer 650thousand records (around 400MB) from Proxy to a DB over JDBC in Batch mode. When I try this process sending 50thousand records per time the JAVA side starts throwing Java Heap size erros.
Also the adapter JDBC gives error like: Terminating queue worker thread, because of fatal error: java.lang.OutOfMemoryError: Java heap space (failed to allocate 537002008 bytes)
And at the end the Java system restarts itself.
Is it not possible to send 14 messages each around 30 MB to a DB without getting errors like this. Is this because of the Hardware or something to do with parameters?
Thanks.
Do you send the messages with a time gap?
When you send all messages the same time, of course the memory will not be sufficient.
But I noticed that the JDBC adapter implementation seems to need more memory compared to other adapters.
So I process JDBC messages in small chunks with a time gap.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.