Author Topic: Script Size  (Read 1358 times)

tweber

  • EA User
  • **
  • Posts: 46
  • Karma: +0/-0
    • View Profile
Script Size
« on: August 01, 2024, 10:22:56 pm »
Is there a setting for controlling the max size of scripts (i.e., jscript)?  I've got a script with common functions and am getting an error trying to save it.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13226
  • Karma: +550/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Script Size
« Reply #1 on: August 01, 2024, 11:01:06 pm »
I don't think so. My scripts are sometimes pretty large too, and I've never encountered such an error.

What error exactly are you getting, and on which database?

On SQL Server this is an nvarchar(max) field, so that should accomodate about 2GB worth of data.
Hard to imagine a script running into that limit

Geert

tweber

  • EA User
  • **
  • Posts: 46
  • Karma: +0/-0
    • View Profile
Re: Script Size
« Reply #2 on: August 01, 2024, 11:08:34 pm »
Sparx Systems Pro Cloud Server [0x00000003]

Unable to open recordset

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13226
  • Karma: +550/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Script Size
« Reply #3 on: August 02, 2024, 07:13:04 am »
Sparx Systems Pro Cloud Server [0x00000003]

Unable to open recordset
PCS is just the way to get to the database. What database are you using?
It might also be worth to try a direction connection to see if that makes a difference.

Geert