OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Open 1Gb .txt file

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer
View previous topic :: View next topic  
Author Message
digweed13
Newbie
Newbie


Joined: 03 Aug 2006
Posts: 2

PostPosted: Thu Aug 03, 2006 8:05 am    Post subject: Open 1Gb .txt file Reply with quote

Hello,

I am trying to find a solution to open a 1Gb .txt file and have not been able to find any solution. I have looked through the support pages and have not seen anything regarding this.

Does writer have the ability to open this size file?

Thanks,

Digweed
Back to top
View user's profile Send private message
9point9
Moderator
Moderator


Joined: 31 Aug 2004
Posts: 3875
Location: UK

PostPosted: Thu Aug 03, 2006 9:52 am    Post subject: Reply with quote

Writer is limited to 65535 characters per paragraph. Does it break that?

What sort of text file is it? What are you trying to do with it?
_________________
Arch Linux
OOo 3.2.0

OOoSVN, change control for OOo documents:
http://sourceforge.net/projects/ooosvn/
Back to top
View user's profile Send private message Visit poster's website
Bhikkhu Pesala
Super User
Super User


Joined: 23 Aug 2005
Posts: 2324
Location: Seven Kings, London, UK

PostPosted: Thu Aug 03, 2006 10:00 am    Post subject: Reply with quote

Since it is a text file, I don't see any reason why you can split it into small pieces with a program like Chainsaw then open each piece separately.
_________________
Fonts * Opera * Oo Tips * FAQ * New Forum
Oo 2.3.1 * Win XP
Back to top
View user's profile Send private message Visit poster's website
digweed13
Newbie
Newbie


Joined: 03 Aug 2006
Posts: 2

PostPosted: Thu Aug 03, 2006 10:11 am    Post subject: Reply with quote

It is actually a .sql file but it is simply plain text. It is from a older database that contains information that I need access to. It can be renamed to .txt and it will still work.

I am trying to gain access to the information in the txt file without having to install mysql and then import that information (which will most likely take 2-3 days to import)

I have tried to chop it up into pieces but it ends up breaking the file and information.

Thanks,

Digweed
Back to top
View user's profile Send private message
pitonyak
Administrator
Administrator


Joined: 09 Mar 2004
Posts: 3655
Location: Columbus, Ohio, USA

PostPosted: Thu Aug 03, 2006 11:39 am    Post subject: Reply with quote

Quote:
Writer is limited to 65535 characters per paragraph.

Very interesting, I was not aware of that. I checked, and you are correct, but I was not aware of it. An entire paragraph, is therefore, always representable as a string if required; excellent.
_________________
--
Andrew Pitonyak
http://www.pitonyak.org/oo.php
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
dfrench
Moderator
Moderator


Joined: 03 Mar 2003
Posts: 1605
Location: Wellington, New Zealand

PostPosted: Thu Aug 03, 2006 1:25 pm    Post subject: Reply with quote

How about setting the text file up as an OOo data source ? You could then put the data into a real database under the control of OOo. I suspect that you will need plenty of memory for this operation though.
Back to top
View user's profile Send private message
acknak
Moderator
Moderator


Joined: 13 Aug 2004
Posts: 4295
Location: ~ 40°N,75°W

PostPosted: Thu Aug 03, 2006 3:26 pm    Post subject: Reply with quote

What kind of access do you need? It sounds like you're bending over backwards to avoid loading it into a database.

Unix is loaded with text file utilities that just work sequentially through the file, not caring at all how big it is. You can always download a live CD and read your file from there. You can be running simple string or regex searches in a few minutes. It takes grep about 10s to run through 1.5Gb of text on my system.
Back to top
View user's profile Send private message
David
Super User
Super User


Joined: 24 Oct 2003
Posts: 5668
Location: Canada

PostPosted: Thu Aug 03, 2006 3:39 pm    Post subject: Re: Open 1Gb .txt file Reply with quote

Plain text? Try this: http://www.liquidninja.com/metapad/

David.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group