Welcome to the SRP Forum! Please refer to the
SRP Forum FAQ post
if you have any questions regarding how the forum works.
Rotate Out of Memory
Using SRP Rotate Array on latest RC causes Out Of Memory crash.
Table Rows = 2700, columns =200
Quite a bit of data, but not really excessive.
Can you post the data you used as an attachment?
Table attached saved via OSWRITE
You just love stress testing this stuff. As you know, ROTATE tries to preallocate the memory needed to store the results, and it does this by counting delimiters and multiplying the length of the data accordingly. After all, too much space is better than not enough.
Except, in this case, it's trying to allocate a variable to 1.5 GB in size, and OI can't handle that. Yikes.
I'll refactor the DLL tomorrow to stop messing with preallocated memory buffers altogether.
Yes indeed, strangely the data is under 1Mb in size, so it is surprising that it has to expand to 1.5GB.
Presumably the max size of any cell needs to be replicated per cell... or something like that.
edited September 2018
SRP Utilities 2.0.2 RC12
fixes this issue and should avoid all future issues with regards to memory allocation.
All OK now, thanks Kevin.