read or import text-files in chuncks

Discuss all feature requests you have for a new Servoy versions here. Make sure to be clear about what you want, provide an example and indicate how important the feature is for you

read or import text-files in chuncks

Postby Harjo » Fri Mar 17, 2006 12:56 pm

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?
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Postby faheemhameed » Wed Dec 27, 2006 11:17 am

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.
Attachments
Picture 22.png
Picture 22.png (16.22 KiB) Viewed 4071 times
Hameed
Pilot simple software
Hong Kong
User avatar
faheemhameed
 
Posts: 763
Joined: Wed Sep 10, 2003 7:23 am

Postby Riccardino » Wed Dec 27, 2006 12:05 pm

faheemhameed wrote: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...
ciao, ric
User avatar
Riccardino
 
Posts: 911
Joined: Thu Apr 24, 2003 11:42 am
Location: Ferrara, Italy

Postby pbakker » Wed Dec 27, 2006 1:17 pm

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
pbakker
 
Posts: 2822
Joined: Wed Oct 01, 2003 8:12 pm
Location: Amsterdam, the Netherlands

Postby faheemhameed » Wed Dec 27, 2006 1:44 pm

Thanks Paul,

I will give it a try.

Hameed
Hameed
Pilot simple software
Hong Kong
User avatar
faheemhameed
 
Posts: 763
Joined: Wed Sep 10, 2003 7:23 am

Postby cybersack » Thu Dec 28, 2006 7:56 am

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

see http://www.it2be.com/
User avatar
cybersack
 
Posts: 302
Joined: Sun Jan 02, 2005 1:17 am


Return to Discuss Feature Requests

Who is online

Users browsing this forum: No registered users and 13 guests