Editor freezing while parsing large text file
I'm trying to parse the english dictionary into the Editor and its causing the editor to freeze for hours at a time. I understand that over 355k words (and however many letters that is) is a lot, but is it really enough to freeze the engine? I could be wrong, but I figured all of the physics rendering and things the engine can do would be more intensive.
I guess my question is, is there a fix for this? Could it be due to low CPU specs? I have a Quad CoreI7 and a nVidia GTX780M and I've never really had issues compiling lighting data or anything like that. So I was thinking it could be a memory allocation issue.
Would there be a way to dictate how the engine handles tasks like this or would it be easier to just parse each file separately to decrease the file size?
It should also be known that I'm using Rama's victory plugin for the Load File Into String Array node. There are no errors while loading small files and I haven't tested the file threshold.
asked Oct 18 '16 at 09:01 PM in Bug Reports
To start, when you say, "...physics rendering and things the engine..." - these are not related to the performance requirements for input / output for files. While modern game engines handling of physics, rendering, etc is exceptional, they are their own thing.
With that said, I am not using Rama's plugin so I cannot speak for it as for performance but I have created my own Actor class that loads a text file. The one I am testing is 2.56MB (or 2.6 million characters) and loads exceptionally fast; no noticeable lag.
And the result:
Thank you for submitting a bug report, however at this time we believe that the issue you are describing is not actually a bug with the Unreal Engine, and so we are not able to take any further action on this. If you still believe this may be a bug, please provide steps for us to reproduce the issue, and we will continue our investigation.
Follow this question
Once you sign in you will be able to subscribe for any updates here