Git Product home page Git Product logo

vsc-node's People

Contributors

brianoflondon avatar pl8tinium avatar techcoderx avatar vaultec81 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

vsc-node's Issues

Memory leak during initial sync

Node crashes during initial sync due to memory leak in the block streamer. Likely due to certain cases that causes blocks not clearing from blockMap after processing.

this.currentBlock 75165472 { count: 50, start_block: 75214623, blockMapSize: 31224 }
this.currentBlock 75165472 { count: 50, start_block: 75214573, blockMapSize: 31272 }
[I| 08:11:26 core             ] current block lag 3286000 0
this.currentBlock 75165472 { count: 50, start_block: 75214673, blockMapSize: 31284 }
this.currentBlock 75165472 { count: 50, start_block: 75214723, blockMapSize: 31333 }
witnessNodes [] 0
this.currentBlock 75165472 { count: 50, start_block: 75214773, blockMapSize: 31354 }
this.currentBlock 75165472 { count: 50, start_block: 75214823, blockMapSize: 31403 }
{
  git_commit: 'a7b2bf662323858ec777b377d62d636800ef76db\n',
  hive_account: 'man-fred',
  ipfs_peer_id: '12D3KooWCPsqBF1vaE8z4N8zQuZXQ7rLQJ2EK4Mp4sFcgyuHSX7L',
  net_id: 'testnet/d12e6110-9c8c-4498-88f8-67ddf90d451c',
  ts: '2023-05-25T12:22:25.097Z',
  witness: {
    enabled: false,
    signing_keys: {
      active: 'STM6D5uPzzVmbCM3YVQLcQ6qUVW9xjdN6RjpWowEuw4DoTJf8ksZU',
      owner: 'STM7FN3LvozB98CwVLwyjM6iabJm6FybTRXFzfMBaZpfnJSrJTJHt',
      posting: 'STM75htftzHqPoqCUrpamMjmAUawJnetoK6HWWJwPhxquff76EiBb'
    }
  }
}
this.currentBlock 75165472 { count: 50, start_block: 75214873, blockMapSize: 31429 }
this.currentBlock 75165472 { count: 50, start_block: 75214923, blockMapSize: 31477 }
this.currentBlock 75165472 { count: 50, start_block: 75215023, blockMapSize: 31498 }
this.currentBlock 75165472 { count: 50, start_block: 75214973, blockMapSize: 31547 }

<--- Last few GCs --->

[1133463:0x5f604d0]  1282824 ms: Scavenge (reduce) 1913.1 (1993.6) -> 1911.7 (1992.7) MB, 29.86 / 0.01 ms  (average mu = 0.343, current mu = 0.316) allocation failure;
[1133463:0x5f604d0]  1282981 ms: Scavenge (reduce) 1915.9 (1994.1) -> 1914.7 (1993.4) MB, 8.73 / 0.01 ms  (average mu = 0.343, current mu = 0.316) allocation failure;
[1133463:0x5f604d0]  1283167 ms: Scavenge (reduce) 1918.8 (1995.4) -> 1917.6 (1994.7) MB, 7.29 / 0.01 ms  (average mu = 0.343, current mu = 0.316) allocation failure;


<--- JS stacktrace --->

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
 1: 0xc9adf0 node::Abort() [node]
 2: 0xb700f7  [node]
 3: 0xec0530 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
 4: 0xec0817 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
 5: 0x10d1ea5  [node]
 6: 0x10d2434 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [node]
 7: 0x10e9324 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::internal::GarbageCollectionReason, char const*) [node]
 8: 0x10e9b3c v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
 9: 0x10bfe41 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
10: 0x10c0fd5 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
11: 0x109d616 v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [node]
12: 0x108ec5c v8::internal::FactoryBase<v8::internal::Factory>::AllocateRawArray(int, v8::internal::AllocationType) [node]
13: 0x108edc4 v8::internal::FactoryBase<v8::internal::Factory>::NewFixedArrayWithFiller(v8::internal::Handle<v8::internal::Map>, int, v8::internal::Handle<v8::internal::Oddball>, v8::internal::AllocationType) [node]
14: 0x129db58  [node]
15: 0x1367b85  [node]
16: 0x136dc93 v8::internal::KeyAccumulator::GetKeys(v8::internal::Isolate*, v8::internal::Handle<v8::internal::JSReceiver>, v8::internal::KeyCollectionMode, v8::internal::PropertyFilter, v8::internal::GetKeysConversion, bool, bool) [node]
17: 0x1501679 v8::internal::Runtime_ObjectKeys(int, unsigned long*, v8::internal::Isolate*) [node]
18: 0x1932ef6  [node]
Aborted (core dumped)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.