• 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
Out of Memory when Importing Image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Out of Memory when Importing Image


  • Subject: Out of Memory when Importing Image
  • From: Charles Ross <email@hidden>
  • Date: Wed, 16 Oct 2002 11:38:34 -0700

When running an AppleScript that makes a call to a FileMaker script that performs an Insert Picture command, I get the following error:

Sorry, "image.jpg" could not be imported. Ran out of memory while translating

The error only appears when the AppleScript is run from a Perform AppleScript script step in a FileMaker script. The Perform AppleScript script step references a field that contains the script, but pasting the script into the script step itself doesn't change the behavior.

I found a tech note on the FileMaker web site that mentions this error on Windows, but I'm running this with FileMaker Developer 6 on Mac OS X 10.2. The tech note (#107440) says that if the image takes more than 16 MB to parse, then this error will appear. These are relatively small images, however (the largest is 180K).

Running the exact same script from Script Editor instead of from within a FileMaker script does not produce the error. The images import with no problem. The images open without trouble in both Preview and GraphicConverter.

The only thing I can think of is that there's a problem with a FileMaker script having an AppleScript that calls another FileMaker script, and I'm working on rewriting the routine to test this possibility, but that's not going to be easy, because the calls to the FileMaker script inside the AppleScript take place within a repeat loop, so I can't just have the first part of the AppleScript run, then have the FileMaker script run, then do the rest of the AppleScript.

I'm running this with Mac OS X 10.2, FileMaker Developer 6.

Anyone have experience with this and any ideas of what I can do?

Thanks,
Chuck
--
Charles E. Ross
Developer & Writer
(661) 943-9169
fax: (253) 663-0082
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.

  • Prev by Date: Re: Pie chart importing script-success!!!!
  • Next by Date: Re: scripting ftp in the terminal
  • Previous by thread: RE: Script Objects
  • Next by thread: Scripting Internet Connect VPN
  • Index(es):
    • Date
    • Thread