/* Convert data to Unicode UTF16. */
MultiByteToWideChar( CP_UTF8, 0, cvt, -1, out, wcharsNeeded );
To reproduce:
Write a large string in a workspace (say, 1MB of ascii chars), then repeatedly copy it.
Squeak.exe's memory usage will grow, not released when doing garbage collection.
/* Convert data to Unicode UTF16. */
MultiByteToWideChar( CP_UTF8, 0, cvt, -1, out, wcharsNeeded );
To reproduce:
Write a large string in a workspace (say, 1MB of ascii chars), then repeatedly copy it.
Squeak.exe's memory usage will grow, not released when doing garbage collection.