Results 1 to 10 of 13

Thread: OOM Error on 32 Bit before hitting 2GB boundary?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5

    Default Re: OOM Error on 32 Bit before hitting 2GB boundary?


    Which is why I said "If what I remember is true" .. and that might be wrong.

    OK.. task manager says this:

    - immediately after reading in the file ==> 270MB in the Working Set column, so that's before calling Base64EncodeUCharArray
    - On the first and 2nd line in Base64EncodeUCharArray ==> 270 MB (looks like no 2 copies yet )
    - After Base64 encode ==> 806MB (which is about 200MB higher than I expected, but OK)
    - On the ResizeArray line with the OOM error ==> 1032MB

    So.. I'm seeing the OOM error on 1GB and not 2GB and I still find that surprising.

    Last edited by wila; 24-Aug-2022 at 04:17 AM. Reason: make more clear

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts