joyent/node — Issue #2348: fs.writeFile seems to hang with 100% CPU on Win32 platform when writing large files
Author: Reregistered
Created: 2011-12-16 23:32:18+00:00
State: open

When writing a large buffer (~20M) node.js seems to hang @ with the CPU at 100%.
The same code works on the darwin platform.

Additional info:
Trying to do the same thing using a createWriteStream method has the same behaviour.
Worked with a 7M file.
Works if I write in 1M chunks using:
fs.open
fs.write