Reading large .sto files

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
William A
Posts: 21
Joined: Thu Feb 16, 2017 10:02 am

Reading large .sto files

Post by William A » Mon Dec 03, 2018 7:40 am

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

Tags:

User avatar
jimmy d
Posts: 1375
Joined: Thu Oct 04, 2007 11:51 pm

Re: Reading large .sto files

Post by jimmy d » Mon Dec 03, 2018 10:52 am

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

User avatar
William A
Posts: 21
Joined: Thu Feb 16, 2017 10:02 am

Re: Reading large .sto files

Post by William A » Tue Dec 04, 2018 10:26 am

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?

User avatar
jimmy d
Posts: 1375
Joined: Thu Oct 04, 2007 11:51 pm

Re: Reading large .sto files

Post by jimmy d » Tue Dec 04, 2018 11:58 am

I am facing problem in reading large .sto files using STOFileAdapter().
Are you getting an exception reported, or is the performance poor?

User avatar
William A
Posts: 21
Joined: Thu Feb 16, 2017 10:02 am

Re: Reading large .sto files

Post by William A » Wed Dec 05, 2018 2:12 am

No, I am not getting any exception. It is just not finishing reading up the file (waited for hours and hours).

User avatar
jimmy d
Posts: 1375
Joined: Thu Oct 04, 2007 11:51 pm

Re: Reading large .sto files

Post by jimmy d » Wed Dec 05, 2018 8:49 am

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.

POST REPLY