Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

fmpro.evaluateSql limitations

Featured Replies

All,

We ran a sql call that selected two fields from a table "SELECT CATEGORY, AMOUNT FROM TABLE" where the table had 135K+ records in it. FileMaker unexpectedly quit during the evaluation of the function call. It was a function that was in a plugin that was created via ScriptMaster Advanced. The function works for all other sql queries (it basically just returns the value from fmpro.evaluateSql ( sql ; field_seperator ; row_seperator) ).

The ScriptMaster logs show the function being called, but there is no information after that in the log.

We ran the same sql query through a different plugin and the query took awhile, but did successfully return. We put the text returned in a text file and it was 5.8MB total.

Not sure what the problem is, but it seems there's some sort of return limitation with the SQL query function that is in ScriptMaster where there wasn't in the other plugin.

Do you guys have any ideas?

Thanks in advance!

Hi Court,

What version of ScripMaster are you currently using? I think there was an issue similar to this with an older version of the plugin, but this should be resolved in the latest build which is 4.123.

  • Author

Thanks for the prompt reply.

We were using version 4.12 so to test I downloaded 4.123, rebuilt the plugin, and tried it again and it crashed the same as before.

I also tried running it directly through scriptmaster, rather than in the seperate plugin we built, however it still crashed FileMaker...

Court

I think the plugin is running out of memory with your large result and the simple fmpro.executesql function call. Can you send me a file to try and reproduce this on?

You may want to try to increase the amount of memory that the plugin is using. Directions to do this are available at

http://wo.360works.com/cgi-bin/support/productsupport.cgi/Heapspace_Out_of_Memory_Error

  • Author

Sure, do you want me to email it? and if so to what address?

Court

I think the plugin is running out of memory with your large result and the simple fmpro.executesql function call. Can you send me a file to try and reproduce this on?

You may want to try to increase the amount of memory that the plugin is using. Directions to do this are available at

http://wo.360works.com/cgi-bin/support/productsupport.cgi/Heapspace_Out_of_Memory_Error

  • Author

For what it's worth, we did try an increased memory allocation and it is still crashing...

Court

  • Author

I didn't hear back so I found your email address and sent you a link to download the file. Let me know if you have any solutions.

Court

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.