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

what is this problem? #6

Open
elaheh4 opened this issue Apr 29, 2021 · 1 comment
Open

what is this problem? #6

elaheh4 opened this issue Apr 29, 2021 · 1 comment

Comments

@elaheh4
Copy link

elaheh4 commented Apr 29, 2021

==== JS stack trace =========================================

0: ExitFrame [pc: 0x139432d]

Security context: 0x01bc639408d1
1: toString [0x1b3c353723f1] [buffer.js:~773] [pc=0x222a1720808e](this=0x393821d84869 ,0x21023f4c04b1 ,0x21023f4c04b1 ,0x21023f4c04b1 )
2: arguments adaptor frame: 1->3
3: handleStreamEnd [0x393821d83b31] [/root/Downloads/tron-transfers-downloader-master/node_modules/axios/lib/adapters/...

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 0xa1a640 node::Abort() [/usr/bin/node]
2: 0xa1aa4c node::OnFatalError(char const*, char const*) [/usr/bin/node]
3: 0xb9a68e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/usr/bin/node]
4: 0xb9aa09 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/bin/node]
5: 0xd57c85 [/usr/bin/node]
6: 0xd58316 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [/usr/bin/node]
7: 0xd64bd5 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/usr/bin/node]
8: 0xd65a85 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/bin/node]
9: 0xd6853c v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/usr/bin/node]
10: 0xd363dc v8::internal::Factory::NewRawOneByteString(int, v8::internal::AllocationType) [/usr/bin/node]
11: 0xd36b9d v8::internal::Factory::NewStringFromUtf8(v8::internal::Vector const&, v8::internal::AllocationType) [/usr/bin/node]
12: 0xbb29af v8::String::NewFromUtf8(v8::Isolate*, char const*, v8::NewStringType, int) [/usr/bin/node]
13: 0xaf7bd0 node::StringBytes::Encode(v8::Isolate*, char const*, unsigned long, node::encoding, v8::Localv8::Value*) [/usr/bin/node]
14: 0x9f46d6 [/usr/bin/node]
15: 0x139432d [/usr/bin/node]
error Command failed with signal "SIGABRT".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[root@localhost tron-transfers-downloader-master]#

@ColonelJ
Copy link
Owner

Like it says, it ran out of memory. The script currently downloads all the transactions to memory so I guess this error is possible... How long was the script running before this happened, and how many transactions are there on the account you're downloading?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants