-
Notifications
You must be signed in to change notification settings - Fork 178
Crashing with out of memory exception #227
Comments
@mvestergaard does your project compiles properly with |
I'm experiencing the same issue on versions
|
|
Could you plz give me some example to reproduce? |
It's a closed source app for my work, but i suppose you can try it since its so early in development. https://github.com/mvestergaard/product-designer
Then Edit one of the react files or something over and over until it crashes. |
I've cloned the repo, thx. You can hide it back. |
Everything compiles good at my Mac, maybe it's some Windows-related issue again. I'll try to debug. |
I'm on mac as well though. Initial compilation is not the issue, try making a change somewhere afterwards so the process rebuilds, and take a look at the memory usage of the build process. |
@mvestergaard yes, I see now. Ok, I'll try to solve this |
ATL is probably not entirely to blame for this. Running a normal I can imagine ATL needs to clean up better between runs, so it doesn't exceed the memory limit, but I can imagine a project large enough could cause |
I'm seeing the same issue. I have Btw, @s-panferov, is there any way to configure the spawned process to use a different limit via |
It seems to be an issue with typescript itself caused by something in the enzyme typings, see linked issue above. |
This seems related with #287 |
I'm having a tough time figuring out exactly what/why/when caused this exception to start happening, but I seem to have narrowed it down to only happening after v2.2.1
When running through a webpack dev server and making changes, after a while the process crashes with this exception:
Some of the time it is preceded by this error:
node: v6.5.0
webpack: 2.1.0-beta.20
typescript: tried both 2.0 and 2.0.2
os: OSX
Using versions of ATL prior to 2.2.1 does not seem to cause this error, however they do result in compile time errors due to improper support of
@types
, so the fact that the tsc compile fails may be what prevents this from happening, can't say for sure. What i'm doing to provoke the error is to edit the same file over and over again, so maybe it's because the type checking does not get a chance to complete before making another change, and triggering a new build?I've tried disabling the ForkChecker plugin with same result.
The text was updated successfully, but these errors were encountered: