• 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: Memory leak when adding records in Filemaker
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory leak when adding records in Filemaker


  • Subject: Re: Memory leak when adding records in Filemaker
  • From: waynemelrose <email@hidden>
  • Date: Mon, 14 Jan 2013 18:00:24 +1100


On 14/01/2013, at 4:33 PM, Beatrix Willius <email@hidden> wrote:

I have this ages old script to transfer data to Filemaker, but since a while there seems to be a memory leak in Filemaker. When I let the example below run the memory goes only up and up. Until Filemaker crashes or there is an error message "-10001, Object or property is the wrong type". 

property MainMailbox : "s iosdf asödf ,asdf."
property MainSubject : "sdf lasdkf asdlfkasdflk "
property MessageBody : "asd lkfasdfpäoaädö flsdf sadlfasdf ölasdfalksdf sdfköj asdflk asdfopapäe asödf asldkf asd asödf asdföäasöädfasdf"
property OriginatorFrom : "sdfl ksdf asldkfasldfkasldfk"

with timeout of 10000 seconds
repeat 10000 times
tell application "FileMaker Pro Advanced"
go to layout "all Fields Mail"
save
set myNewRecord to (create new record with data {MainMailbox, MainSubject, MessageBody, OriginatorFrom})
save
end tell
end repeat
end timeout

Does anyone have an idea how to fix this? This problem occurs for both Filemaker 11 and 12. The memory in Filemaker is not reclaimed as it should be when a garbage collector runs. Have tried this, too, by adding a delay of 2 seconds after 10 records.

I'm also open to alternative solutions. Except ODBC which is a PITA to set up.

Mit freundlichen Grüßen/Regards

Trixi Willius



If you're running this from within filemaker, you should use a filemaker loop. If you're not using it within filemaker, perhaps you should try triggering an embedded script in FileMaker and calling on the script from there. 


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Memory leak when adding records in Filemaker
      • From: Bruce Robertson <email@hidden>
    • Re: Memory leak when adding records in Filemaker
      • From: Beatrix Willius <email@hidden>
    • Re: Memory leak when adding records in Filemaker
      • From: Bruce Robertson <email@hidden>
References: 
 >Memory leak when adding records in Filemaker (From: Beatrix Willius <email@hidden>)

  • Prev by Date: Memory leak when adding records in Filemaker
  • Next by Date: Re: Memory leak when adding records in Filemaker
  • Previous by thread: Memory leak when adding records in Filemaker
  • Next by thread: Re: Memory leak when adding records in Filemaker
  • Index(es):
    • Date
    • Thread