Results 1 to 13 of 13
  1. #1
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Notepad .LOG limitation (XP)

    Notepad files are limited to 64K, but with the .LOG issue, the limit seems to be halved.

    I've been accumulating billing information for a few months now, and today I get "Not enough memory to complete this operation" when i try to open Billing.TXT (with a .LOG at the top). Removing the .LOG removes the symptoms.

    MSKB 132841 says This behavior can occur because the Notepad program in Windows 95/98 is slightly larger and the space to edit data slightly smaller than the Notepad program in Windows 3.x. Therefore, some files that you can open in Notepad in Windows 3.x may be too large for Notepad in Windows 95/98.

    I think that the author of Notepad had only 64K memory, and needs to maintain an original and an updated copy in memory to effect the .LOG stuff. Hence 32KB limit for .LOG files.

  2. #2
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    23,579
    Thanks
    5
    Thanked 1,057 Times in 926 Posts

    Re: Notepad .LOG limitation (XP)

    Not in XP. I can open .log & .txt much larger than 64K. I'm sure I've open multi-MB files with the XP version of Notepad.

    Joe
    Joe

  3. #3
    Platinum Lounger
    Join Date
    Jan 2001
    Posts
    3,788
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Notepad .LOG limitation (XP)

    You could try one of the many free notepad replacement such as (in no particular order):
    Win32Pad
    metapad
    EditPad Lite
    NoteTab Light

    A Google search will reveal many others.

  4. #4
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Notepad .LOG limitation (XP)

    I agree with Joe - I doubt if there is a limit other than system resources. I regulary open up 20Mb log files. (These have an extension of .log but I can't imagine there would be a limitation just because a file had an extension of .txt)

    You can easily test this yourself. open up Notepad then drag any large file from Windows Explorer into it - it may display gobbledegook but should still not choke on it.

  5. #5
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Notepad .LOG limitation (XP)

    > I'm sure I've open multi-MB files with the XP version of Notepad.

    I *know* i have, but not with ".LOG" as the first line. My current record (!) is a 102MB file "ParagraphsStyles.txt".

    I see now that i have caused confusion.

    I'm using ".LOG" on the first line of a file, not ".LOG" as the extension. The mechanism runs to the foot of the file, issues a date-stamp, and prompts for user input.


    I'd appreciate verification by your essaying with the attached file.

  6. #6
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Notepad .LOG limitation (XP)

    > I regulary open up 20Mb log files.

    My apologies.

    I did not make it clear that I was using the ".LOG" mechanism at the start of the file, not as a filename extent. I attached a demo file to my response to Joe.

  7. #7
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Notepad .LOG limitation (XP)

    > You could try one of the many free notepad replacement

    Thanks Tony. Me being me I have already "designed" my way around it.

  8. #8
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    23,579
    Thanks
    5
    Thanked 1,057 Times in 926 Posts

    Re: Notepad .LOG limitation (XP)

    Are you running XP SP-2?

    Joe
    Joe

  9. #9
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Notepad .LOG limitation (XP)

    How did you do it? Halve your bills? - or...?

  10. #10
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Notepad .LOG limitation (XP)

    > How did you do it? Halve your bills? - or...?

    nah. Split the file into months "Billing200501.txt" etc.
    The code that reports the data will be told to "get all files".
    The billing ap is actually a training device for a one-day VBA course - users make a GUI, read and parse text files, sort a string array, and summarize to a text box on the GUI.

  11. #11
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Notepad .LOG limitation (XP)

    > Are you running XP SP-2?

    As far as I know. Choosing Start, Help disappears me into limbo. Choosing the yellow shield icon runs an automatic update process that tells me the latest security updates have been installed. I imagine it would yell(ow) at me if I weren't up to scratch.

  12. #12
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Notepad .LOG limitation (XP)

    Selecting Help | About in Windows Explorer will show the Windows version installed on your PC.

    Or right-click My Computer and select Properties.

    Or select Help | About in any Office application and click System Info...

  13. #13
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Notepad .LOG limitation (XP)

    > Or right-click My Computer and select Properties

    Thanks Hans!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •