Question
Morgan Stanley
US
Last activity: 2 Jan 2024 15:48 EST
How to compile scripts over X64 bit in Robotic studio
Though load package on runtime intermittently seeing system our of memory exception How to ensure RPA code and scripts are x64 bit compiled? or How to compile scripts over X64 bit in Robotic studio
-
Reply
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 2 Jan 2024 15:48 EST
Pegasystems Inc.
GB
@SasidharB9516 I can see from INC-A26621 that 19.1.133 has been released. Please apply it and confirm that when running the 64bit version of runtime, the out of memory exception no longer occurs.
Can you also mark 'Accept Solution' to this reply so that other users will be able to see that this ISSUE-117790 is resolved in this latest release.
This will show that it now allows the 64bit version of runtime to launch, giving more access to the system's RAM and thus avoiding the out of memory exception you experienced.
Pegasystems Inc.
US
@SasidharB9516I am not sure I understand your question. Are you trying to load Runtime as a 64-bit process? I am not aware of any means of compiling a script that would make it execute different for a 64-bit process. Perhaps you can provide an example of your script and what errors or symptoms you are seeing.
Morgan Stanley
US
Yes Runtime as a 64-bit process. Failing when reading file (~483 MB) to memory via below script
Yes Runtime as a 64-bit process. Failing when reading file (~483 MB) to memory via below script
public static DataTable CSVtoDataTable(string strFilePath, char csvDelimiter) { DataTable dt = new DataTable(); using (StreamReader sr = new StreamReader(strFilePath)) { string[] headers = sr.ReadLine().Split(csvDelimiter); foreach (string header in headers) { try { dt.Columns.Add(header); } catch { } } while (!sr.EndOfStream) { string[] rows = sr.ReadLine().Split(csvDelimiter); DataRow dr = dt.NewRow(); for (int i = 0; i < headers.Length; i++) { dr[i] = rows[i]; } dt.Rows.Add(dr); }
} return dt; }
Morgan Stanley
US
@SasidharB9516 Raised INC-A26621 as its affecting prod runs
Pegasystems Inc.
US
@SasidharB9516I don't believe this is an issue with compiling your script. I believe there is probably a memory limitation. You might want to read the file in chunks if it is going to be that large. It might also be worth looking at using the Pega platform to ingest that data and provide it as needed to your bots. Let us know how the INC is resolved though or if you need anything else.
Morgan Stanley
US
@ThomasSasnett Notes from Incident "being able to launch in 64bit is a known issue (ISSUE-117790) it is set to be resolved in our next release"
Pegasystems Inc.
US
@SasidharB9516Thank you for the update.
Accepted Solution
Updated: 2 Jan 2024 15:48 EST
Pegasystems Inc.
GB
@SasidharB9516 I can see from INC-A26621 that 19.1.133 has been released. Please apply it and confirm that when running the 64bit version of runtime, the out of memory exception no longer occurs.
Can you also mark 'Accept Solution' to this reply so that other users will be able to see that this ISSUE-117790 is resolved in this latest release.
This will show that it now allows the 64bit version of runtime to launch, giving more access to the system's RAM and thus avoiding the out of memory exception you experienced.