Tori Mitchell Posted June 26, 2011 Posted June 26, 2011 FMP11 ScriptMaster 4_124 MAC OSX 10.6 Okay, so, I created something silly, just a little script that took in an SQL string and made things happen with it. Then... I ran it 200x in rapid succession. Memory use spiked and held from 123.2MB Real Allocation to 164.03MB real after running the 200x script (I'm aware that I could optimize the groovy but that's beside the point.) After that, each subsequent run increases memory alloc by something relatively linear. While the memory issue isn't really a problem, once that had been completed (even once), the whole of the FIleMaker UI just CRAWLED. Menus, mode switches, layout changes, you name it. Is this a bug? Are the threads not shutting themselves down after execution? Please help on this, it'd be really nice to avoid a lot of unnecessary groovy coding if possible.
Smef Posted June 27, 2011 Posted June 27, 2011 I obviously can't tell what your module is doing, but it's possible that some sort of process is still running on your machine if you aren't waiting for a response before continuing. For example, you could run an executable on your system using scriptmaster over and over again, and the module might return and allow you to continue working in filemaker even though those executables are still running in the background. This might cause slowdown on your system as resources are used up. Are you seeing a similar thing happening if you run one of the other modules that come with scriptmaster?
fseipel Posted June 30, 2011 Posted June 30, 2011 Is there any chance this is related to the JRE version? The reason I ask is, I recently purchased a new i5-2500K/Win 7 Pro PC with 64-bit Windoze and 32-bit Java. Everything was great until I updated Java to JRE 26. Then Filemaker's UI slowed to a crawl. Disabling ScriptMaster resolved the problem. Re-enabling SM and going back to JRE 24 also solved the problem. On a related note, would it be possible to have Scriptmaster check which version of the JRE is installed, and present a warning if the version has not been certified for use with the SM version installed? -Frank
Smef Posted June 30, 2011 Posted June 30, 2011 We keep our plugins compatible with the latest version of java, and currently our plugins are compatible back to java 5. I currently use java 6_26 on a windows 7 machine without issue, so I can confirm that the issue isn't the version of java that you have installed. Is your slowness immediate when you launch filemaker, or does it not show up until after you run a certain script? Just having a plugin installed should not cause any performance issues.
Recommended Posts
This topic is 4906 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now