Closed avin-kavish closed 2 years ago
Also it ran out of memory.
<--- Last few GCs --->
[22126:0x4ee26f0] 57558 ms: Scavenge 4044.7 (4118.3) -> 4044.3 (4128.8) MB, 7.7 / 0.0 ms (average mu = 0.827, current mu = 0.628) allocation failure
[22126:0x4ee26f0] 57623 ms: Scavenge 4052.0 (4129.3) -> 4051.1 (4131.3) MB, 8.0 / 0.0 ms (average mu = 0.827, current mu = 0.628) allocation failure
[22126:0x4ee26f0] 57873 ms: Scavenge 4053.0 (4131.3) -> 4052.1 (4151.8) MB, 234.0 / 0.0 ms (average mu = 0.827, current mu = 0.628) allocation failure
<--- JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
1: 0xb09c10 node::Abort() [/home/avin/.nvm/versions/node/v16.15.0/bin/node]
2: 0xa1c193 node::FatalError(char const*, char const*) [/home/avin/.nvm/versions/node/v16.15.0/bin/node]
3: 0xcf8dbe v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/home/avin/.nvm/versions/node/v16.15.0/bin/node]
4: 0xcf9137 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/home/avin/.nvm/versions/node/v16.15.0/bin/node]
5: 0xeb09d5 [/home/avin/.nvm/versions/node/v16.15.0/bin/node]
6: 0xec069d v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/home/avin/.nvm/versions/node/v16.15.0/bin/node]
7: 0xec339e v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/home/avin/.nvm/versions/node/v16.15.0/bin/node]
8: 0xe84612 v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [/home/avin/.nvm/versions/node/v16.15.0/bin/node]
9: 0xe7cc24 v8::internal::FactoryBase<v8::internal::Factory>::AllocateRawWithImmortalMap(int, v8::internal::AllocationType, v8::internal::Map, v8::internal::AllocationAlignment) [/home/avin/.nvm/versions/node/v16.15.0/bin/node]
10: 0xe8f3c7 v8::internal::Factory::NewStackFrameInfo(v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::HeapObject>, int, int, v8::internal::Handle<v8::internal::FixedArray>) [/home/avin/.nvm/versions/node/v16.15.0/bin/node]
11: 0xe374b7 v8::internal::StackTraceBuilder::AppendFrame(v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::HeapObject>, int, int, v8::internal::Handle<v8::internal::FixedArray>) [/home/avin/.nvm/versions/node/v16.15.0/bin/node]
12: 0xe40b94 [/home/avin/.nvm/versions/node/v16.15.0/bin/node]
13: 0xe41a47 v8::internal::Isolate::CaptureAndSetSimpleStackTrace(v8::internal::Handle<v8::internal::JSReceiver>, v8::internal::FrameSkipMode, v8::internal::Handle<v8::internal::Object>) [/home/avin/.nvm/versions/node/v16.15.0/bin/node]
14: 0xd71141 v8::internal::Builtin_ErrorCaptureStackTrace(int, unsigned long*, v8::internal::Isolate*) [/home/avin/.nvm/versions/node/v16.15.0/bin/node]
15: 0x15f2179 [/home/avin/.nvm/versions/node/v16.15.0/bin/node]
Tried increasing memory to 8GB. Still the same.
It is from transpilation, right? Does it disappear when u disable the transformer?
yeah, it's from ttsc
with transformer.
Does it disappear when u disable the transformer?
yes. In inline mode, build completes in 15secs. In typelib mode, it just hangs and runs out of memory.
Do you need this now? Can I close it and solve this in the next
version?
Is that the one coming end of year?
On Sat, 27 Aug 2022 at 03:06, Roman Jámbor @.***> wrote:
Do you need this now? Can I close it and solve this in the next version?
— Reply to this email directly, view it on GitHub https://github.com/Hookyns/tst-reflect/issues/59#issuecomment-1228968029, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALRQ7UZ7FX3EZGR5KFLCRN3V3E2FTANCNFSM57BNE7AQ . You are receiving this because you authored the thread.Message ID: @.***>
Yes
sure, as long there's no duplicates in inline mode, I can use that
I think it should be a
.js
fileEdit: Actually it emitted a .ts file into the root dir and .js file into out dir.