• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: re: reading files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: re: reading files


  • Subject: RE: re: reading files
  • From: "email@hidden" <email@hidden>
  • Date: Thu, 7 Feb 2002 13:41:43 -0500

On applemods.com, I wrote a module that does just what you describe. Called readIn, it reads in about 30K at a time. 32K is the limit but I got intermittent memory errors trying to do it at 32K at a time. 30K worked consistently.

G

Original Message:
-----------------
From: Nico Gydi email@hidden
Date: Thu, 07 Feb 2002 19:16:50 +0100
To: mailto:applescript-users"@lists.apple.com
Subject: re: reading files


after trying all day without result I finally told my script to read smaller
parts of 20kb instead of trying to read ,for example, a 700kb file all at
once.

this seems to solve my memory problem. it looks like there is limit to what
applescript con read in one time. does anyone know this amount?

this way looks strange but doesn't seem to slow down the script too much.

maybe there is a better solution ?
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: re: reading files
  • Next by Date: Size with AS vs Size displayed in Finder: Why different?
  • Previous by thread: re: reading files
  • Next by thread: date > integer (was UniqueID)
  • Index(es):
    • Date
    • Thread