am trying to parse txt file of 7MB using readTextFromFile() but am getting Memory Circuit Breaker error
did anyone else faced this issue and can anyone please suggest the alternative to parse the txt file which has large data
Thanks in advance
Discussion posts and replies are publicly visible
Did you try running it in a process model or loading the file in a localvariable first?
tried in local variables of rule
Care to share your code? I've parsed files much larger than 7MB in the past.
a!localVariables( local!data:readtextfromfile( txtFile:cons!ARM_PVR_DAT_SOURCE, preserveLineBreaks:false ), local!data)
I just tested with a 14MB file with no issues. Perhaps it would be environment related? How much memory do you have on that server?
Sorry Mathieu, am not sure how check memory in the server
I do get the circuit breaker on larger files (i.e. 25MB) in the expression editor. Did you try running it in a process model by any chance?
i tried another txt with less chars around 2.5 million am still seeing the issue, it might be server memory issue, let me try in process model
tried running in Process model, it was working fine in Process model