• 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: Buffered-Unbuffered data in AS?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Buffered-Unbuffered data in AS?


  • Subject: Re: Buffered-Unbuffered data in AS?
  • From: "Philippe GRUCHET" <email@hidden>
  • Date: Tue, 02 Jul 2002 20:15:07 +0100

From Philippe Gruchet:
>Before writing a parser, I'd like to know if there's a size limit
>to buffer data in AppleScript?

> something like:

> set x to get content of my_data as text

From Emmanuel:
>No limit that I know.

From Jon Pugh:
> Available memory? ;)
>
> Generally it's half of available, since you need to copy your
> buffer somewhere.

From has:
> I think memory consumption would be the only practical concern, no?


Right!
I've just found a size limit: lower than 20K from an external data fork.
From 20K, AS doesn't handle buffered data correctly.
And from inside the Script Editor (events window), we can see that
data are not loaded at all!

So, from 20K and more, data must be cut into segments.


Thanks,
Philippe Gruchet
email@hidden
_______________________________________________
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.

  • Follow-Ups:
    • Re: Buffered-Unbuffered data in AS?
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: Remote Control/Program Linking
  • Next by Date: triggering AS from a CGI
  • Previous by thread: Re: Buffered-Unbuffered data in AS?
  • Next by thread: Re: Buffered-Unbuffered data in AS?
  • Index(es):
    • Date
    • Thread