What to do with InvalidMemoryOperationError

"Nordlöw" via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jan 22 06:09:13 PST 2015


On Wednesday, 21 January 2015 at 20:50:30 UTC, anonymous wrote:
> Or maybe dustmite can help here?
>
> If the file contains sensitive information, and you cannot 
> reduce it to a reasonable size, you may be able to 
> programmatically replace classes of characters with one 
> character. E.g. replace all alphanumeric characters with 'x'. 
> Be cautious of replacing multibyte characters with single 
> bytes. And newlines should probably be left intact.

Breaking out that single code calling File.byLine on the same 
file didn't trigger the error, unfortunately...

I guess dustmite is my only friend here.

I'm guessing some other code prior to the call together with the 
call is causing the bug.

I'll do some more testing and see if I can reduce my code...


More information about the Digitalmars-d-learn mailing list