cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Error is reported in "service"

Yoshihiko.N
5-Regular Member

Error is reported in "service"

Hi All,

 

My service sometimes (not always) reports error of "javascript service".

the service has "for" statement to analyze data and set result into an infotable, so the loop count is depend on input data.

I added a "try catch" statement to output error details but it not work.

 

I think the error tends to be frequently happened when we input big data ( data count is around 100000).

( not always, sometimes the error happens. )

 

I dont add memory allocation codes in "for" statement as much as possible since I thought there is restriction on available memory size in each service.

 

if someone have experienced the same error as me, I'd be happy if you share root causes and on how to solve it.

 

Thanks and regards.

 

 

error1.PNG

error2.PNG

1 REPLY 1
slangley
23-Emerald I
(To:Yoshihiko.N)

Hi @Yoshihiko.N.

 

Since an infotable is stored in memory, you may want to think about using a data table instead, since 100,000 records is fairly large and could cause performance issues.

 

From the code snippet you provided, we're unable to tell what is actually occurring.  Can you provide the full code?  You can send it via private message if needed.

 

Regards.

 

--Sharon

Announcements