This topic contains 2 replies, has 0 voices, and was last updated by TheUsualSuspect 7 years, 1 month ago.

  • Author
    Posts
  • #18272

    david.smith

    Anyone know what the “Execution limit” is?

    I’m not talking about the governance but rather the execution limits. These seem to happen when you are trying to parse through a large list or object of data. I’m not sure if it’s limited to a “for” loop or if the limit is a certain number but I seem to be running into this a lot recently. The work-arounds are horrible to overcome this limitation.
    This is a cached copy. Click here to see the original post.

  • #18273

    pcutler

    Are you referring to the SSS_INSTRUCTION_COUNT_EXCEEDED error? That error is based on the number of JavaScript statements and varies based on script type, with plug-ins offering the lowest limit and scheduled scripts offering the highest. I believe the limits range from 100,000 to 1,000,000 instructions. With a scheduled script, you can reschedule the script to start the counter over again.

  • #18274

    TheUsualSuspect

    Originally posted by david.smith

    View Post

    Anyone know what the “Execution limit” is?

    I’m not talking about the governance but rather the execution limits. These seem to happen when you are trying to parse through a large list or object of data. I’m not sure if it’s limited to a “for” loop or if the limit is a certain number but I seem to be running into this a lot recently. The work-arounds are horrible to overcome this limitation.

    NetSuite has a few considerations for governance that don’t relate to usage points. There are specific time and instruction limits as well which vary from script type to script type.

    Time is ~60 minutes and instruction limit is around 1 million for server scripts like scheduled scripts and map / reduce. I can’t remember the rest of the top of my head but they are documented in suiteanswers.

You must be logged in to reply to this topic.