• Post Reply Bookmark Topic Watch Topic
  • New Topic

OutOfMemoryError/Buffer space is not available with zehon FTP  RSS feed

 
vamsi krishna Rajulapati
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As per our project requirement we are using Zehon FTP to download the zip files from FTP.
Generally we download bulk no.of files from FTP at a time.
It is working fine for 2 or 3 times. but we try after 3 times it is giving the exception OutOfMemoryError or some times Buffer space is not available . Can any have the solution?
Please let us know.
My code is:




Thanks in advance.
 
Pondurai Singh
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I recommended this jvisualvm tool. This tool helps to see what objects are taking up your memory.
The VisualVM can allow developers to generate and analyse heap dumps, track down memory leaks, perform and monitor garbage collection, and perform lightweight memory and CPU profiling. docs.oracle.com/javase/6/docs/technotes/tools/share/jvisualvm.html
 
Campbell Ritchie
Marshal
Posts: 56536
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And welcome to the Ranch
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!