read or import text-files in chuncks

Is it possible to adjust the file-plugin to read text-files in chuncks? or line by line?

So that if we have a 50MB of text-file we don’t have to read it completly into memory!

possible?

I also need this urgently.

My client often gets a java.lang.OutOfMemoryError issue when reading big files.

Any reply from Servoyians?

Will be greatly appreciated.

faheemhameed:
I also need this urgently.

My client often gets a java.lang.OutOfMemoryError issue when reading big files.

Any reply from Servoyians?

Will be greatly appreciated.

Try to browse the forum: there’s a lot of discussions about that.

You could also consider the streaming plug-in…

Maybe the incremental write technique descrivbed in topic http://forum.servoy.com/viewtopic.php?t … e0e7bfb752 can be modified into a incremental rad process as well?

Paul

Thanks Paul,

I will give it a try.

Hameed

Why not use the DataStreamPlugin ?
That’s precisely why it was written !

see http://www.it2be.com/