C Board  

Go Back   C Board > Community Boards > Tech Board

Reply
 
LinkBack Thread Tools Display Modes
Old 11-05-2008, 06:22 PM   #1
Registered User
 
Lawn Gnomusrex's Avatar
 
Join Date: Oct 2008
Location: Leading lawn gnomes on the path to world domination! ;o)
Posts: 13
Cool A quick question about notepad.

Hey, everybody!

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   Reply With Quote
Old 11-05-2008, 07:14 PM   #2
Rampaging 35 Stone Welsh
 
abachler's Avatar
 
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   Reply With Quote
Old 11-05-2008, 07:16 PM   #3
Registered User
 
Lawn Gnomusrex's Avatar
 
Join Date: Oct 2008
Location: Leading lawn gnomes on the path to world domination! ;o)
Posts: 13
Alright, thank you!
Lawn Gnomusrex is offline   Reply With Quote
Old 11-05-2008, 08:13 PM   #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   Reply With Quote
Old 11-05-2008, 08:47 PM   #5
Woof, woof!
 
zacs7's Avatar
 
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 :-)
__________________
"I.T. gets the chicky-babes" - M. Kelly
bakefile | vim
zacs7 is offline   Reply With Quote
Old 11-05-2008, 09:00 PM   #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   Reply With Quote
Old 11-06-2008, 04:14 AM   #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:
Originally Posted by cpjust
If C++ is 2 steps forward from C, then I'd say Java is 1 step forward and 2 steps back.
Elysia is offline   Reply With Quote
Old 11-07-2008, 08:26 AM   #8
The wheel reinvent0^r
 
hauzer's Avatar
 
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:
Originally Posted by cpjust
If C++ is 2 steps forward from C, then I'd say Java is 1 step forward and 2 steps back.
hauzer is offline   Reply With Quote
Old 11-07-2008, 08:44 AM   #9
C++ Witch
 
laserlight's Avatar
 
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   Reply With Quote
Reply

Tags
limits, notepad, ram, strings, text editor

Thread Tools
Display Modes

Forum Jump

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


All times are GMT -6. The time now is 05:44 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22