generated bytecode for method exceeds 64K limit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2017 08:56 PM
Hi Good morning,
I am stuck in a code generated error in script include and could not save my code.
Error : Could not save record because of a compile error: JavaScript parse error at line (9) column (0) problem = Encountered code generation error while compiling function "null": generated bytecode for method exceeds 64K limit. (<refname>; line 9)
Please Advise how to avoid this error to be occurred again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2017 09:22 PM
Please paste your code to look.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2017 09:28 PM
the script is about 2000 lines, so i could not post it. and one thing i observed that it is not allowing me to create new variables, other than creating new variable else written is getting saved. but this occurs when creating new variables.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2017 09:34 PM
Hello Priyanka,
Please share the code which was written in the line 9.
ServiceNow Commnunity MVP -2018 class.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2017 09:38 PM
This is the code staring:
3 sendMDMRequestDetails: function(req)
4 {
5 this._sendRequestDetails(req,'sc_req_item',current.number);
6 },
7
8
9 _sendRequestDetails: function(sid,t,num)
10 {
11