![]() |
| | #1 |
| Registered User Join Date: Oct 2008 Location: Leading lawn gnomes on the path to world domination! ;o)
Posts: 13
| I have a really quick question: is there any limit to the size of a text file that notepad can open, other than RAM? I think everything below XP had something like a 32Kb limit, but I can't find anything that says if there is a limit on vista, and if so, what it is set to. Anyways, peace! -Lawn gnomusrex (I have a program that is going to end up creating huge text files, and I was just wondering about how large each file could be before opening and writing to a new one.) Last edited by Lawn Gnomusrex; 11-05-2008 at 06:28 PM. |
| Lawn Gnomusrex is offline | |
| | #2 |
| Rampaging 35 Stone Welsh Join Date: Apr 2007
Posts: 2,927
| There is no limit to the size fo text files, btu notepad may only be able to open a 2gb file, the per process limit. There are text editors out there that can open larger files because they only open teh portion you are viewing/editing.
__________________ He is free, you say. Ah! That is his misfortune… These men… [have] the most terrible, the most imperious of masters, that is, need. … They must therefore find someone to hire them, or die of hunger. Is that to be free? - Simon Linguet |
| abachler is offline | |
| | #3 |
| Registered User Join Date: Oct 2008 Location: Leading lawn gnomes on the path to world domination! ;o)
Posts: 13
| Alright, thank you! |
| Lawn Gnomusrex is offline | |
| | #4 |
| Jack of many languages Join Date: Nov 2007 Location: Katy, Texas
Posts: 1,929
| I tried opening a 12mb txt file in notepad the other day and finally had to cancel the "not responding" process.
__________________ Mac and Windows cross platform programmer. Ruby lover. Memorable Quotes From Recent Posts: I can't remember. |
| Dino is offline | |
| | #5 |
| Woof, woof! Join Date: Mar 2007 Location: Australia
Posts: 3,139
| > There is no limit to the size fo text files Actually, the file-system does have a limit for the size of files. Although this limit is huge, you would not be able to juggle a file that big in memory/disk :-) |
| zacs7 is offline | |
| | #6 |
| Registered User Join Date: Mar 2005 Location: Mountaintop, Pa
Posts: 1,054
| It may posssibly depend on available ram. Notepad issue |
| BobS0327 is offline | |
| | #7 | |
| Mysterious C++ User Join Date: Oct 2007
Posts: 14,099
| Notepad is known to be inefficient to open large files, as well. You should use another editor to do that. Small files are fine.
__________________ Using: Microsoft Windows™ 7 Professional (x64), Microsoft Visual Studio™ 2008 Team System I dedicated my life to helping others. This is only a small sample of what they said: "Thanks Elysia. You're a programming master! How the hell do you know every thing?" Quoted... at least once. Quote:
| |
| Elysia is offline | |
| | #8 | |
| The wheel reinvent0^r Join Date: Aug 2008 Location: Србија
Posts: 115
| Notepad2 opens files in a flash rather than the ordinary Notepad.
__________________ I reinvent the wheel to understand how it works. Platform: Windows XP SP2 Professional Edition Compiler: GCC 4.3.0 Editor: Notepad++ 5.4.2 Notes: Successfully using MSYS, loving my Windows makefiles. Never, ever use Cygwin. --Quotes-- Quote:
| |
| hauzer is offline | |
| | #9 |
| C++ Witch Join Date: Oct 2003 Location: Singapore
Posts: 10,364
| This sounds more like a Tech Board question than a Windows programming question, so I am moving this thread to the Tech Board.
__________________ C + C++ Compiler: MinGW port of GCC Build + Version Control System: SCons + Bazaar Look up a C/C++ Reference and learn How To Ask Questions The Smart Way |
| laserlight is online now | |
![]() |
| Tags |
| limits, notepad, ram, strings, text editor |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Very quick math question | jverkoey | General Discussions | 8 | 10-26-2005 11:05 PM |
| very quick question. | Unregistered | C++ Programming | 7 | 07-24-2002 03:48 AM |
| quick question | Unregistered | C++ Programming | 5 | 07-22-2002 04:44 AM |
| Quick Question Regarding Pointers | charash | C++ Programming | 4 | 05-04-2002 11:04 AM |
| Quick question: exit(); | ethic | C Programming | 6 | 08-15-2001 05:46 PM |