Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev模式存在严重内存泄漏 #3

Open
jjyyxx opened this issue May 24, 2018 · 1 comment
Open

dev模式存在严重内存泄漏 #3

jjyyxx opened this issue May 24, 2018 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jjyyxx
Copy link
Member

jjyyxx commented May 24, 2018

在执行npm run dev后,内存占用会持续上升,一般在十次左右的编译后会出现heap out of memory错误而退出。
目前暂未定位问题,暂时解决方法是在出错后重新进行npm run dev
特此告知,也欢迎协助解决问题。带来的不便望谅解。

@jjyyxx jjyyxx self-assigned this May 24, 2018
@jjyyxx jjyyxx added the bug Something isn't working label May 24, 2018
@jjyyxx
Copy link
Member Author

jjyyxx commented May 24, 2018

附log

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::DecodeWrite
 2: node_module_register
 3: v8::internal::FatalProcessOutOfMemory
 4: v8::internal::FatalProcessOutOfMemory
 5: v8::internal::Heap::MaxHeapGrowingFactor
 6: v8::internal::Factory::NewRawTwoByteString
 7: v8::internal::Smi::SmiPrint
 8: unibrow::Utf8DecoderBase::WriteUtf16Slow
 9: v8::String::WriteUtf8
10: std::basic_ostream<char,std::char_traits<char> >::basic_ostream<char,std::char_traits<char> >
11: node::Buffer::New
12: node::Buffer::New
13: 0000008548B56BA0
npm ERR! code ELIFECYCLE
npm ERR! errno 134
npm ERR! [email protected] dev: `webpack-dev-server --inline --progress --config build/webpack.dev.conf.js`
npm ERR! Exit status 134
npm ERR! 
npm ERR! Failed at the [email protected] dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\hjzsj\AppData\Roaming\npm-cache\_logs\2018-05-24T14_47_06_072Z-debug.log

Process finished with exit code 134

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant