Page 1 of 1

Reading large .sto files

Posted: Mon Dec 03, 2018 7:40 am
by william_a
Dear All,

I am facing problem in reading large .sto files using STOFileAdapter(). Although it works for reading small files. Can anyone suggest on how to read large .sto files. By large I mean 100s of MB.

Thanks,
William

Re: Reading large .sto files

Posted: Mon Dec 03, 2018 10:52 am
by jimmy
That sure is a big file :lol:

The adapters were not tested on files that large, so the expected behavior is undefined. At this point in time, I would say that is unreasonable to expect the adapters to handle files that large. Could you give us more details on your use-case? How was the STO file generated/Why is it necessary for the STO file to be that large?

-J

Re: Reading large .sto files

Posted: Tue Dec 04, 2018 10:26 am
by william_a
I am using forward dynamics tool and I have defined controls for large duration say 500s. At the end of the simulation, the states are stored in a .sto file which is large (since integration is till 500s). Now, I want to read that file. Any suggestion?

Re: Reading large .sto files

Posted: Tue Dec 04, 2018 11:58 am
by jimmy
I am facing problem in reading large .sto files using STOFileAdapter().
Are you getting an exception reported, or is the performance poor?

Re: Reading large .sto files

Posted: Wed Dec 05, 2018 2:12 am
by william_a
No, I am not getting any exception. It is just not finishing reading up the file (waited for hours and hours).

Re: Reading large .sto files

Posted: Wed Dec 05, 2018 8:49 am
by jimmy
There is little that we currently do, other than recommend that you break up the file into smaller chunks or run smaller simulations. I have filed an issue so it may be investigated in a future development sprint.