!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

206 Members
59 Servers

Load older messages


SenderMessageTime
28 Dec 2023
@pkolloch:matrix.org@pkolloch:matrix.org joined the room.12:56:16
29 Dec 2023
@hexa:lossy.networkhexahow shitty is the v8 gc?18:02:30
@hexa:lossy.networkhexa
 matrix-appservice-irc[895]: <--- Last few GCs --->
 matrix-appservice-irc[895]: [895:0x3cae3c0] 102505230 ms: Mark-Compact (reduce) 1977.4 (2086.4) -> 1975.6 (2086.4) MB, 3626.86 / 0.00 ms  (average mu = 0.118, current mu = 0.012) allocation failure; GC in old space requested
 matrix-appservice-irc[895]: [895:0x3cae3c0] 102510465 ms: Mark-Compact (reduce) 1975.6 (2086.4) -> 1975.6 (2084.6) MB, 5234.60 / 0.00 ms  (average mu = 0.052, current mu = 0.000) allocation failure; GC in old space requested
 matrix-appservice-irc[895]: <--- JS stacktrace --->
 matrix-appservice-irc[895]: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
 matrix-appservice-irc[895]:  1: 0xbd82d8 node::Abort() [/nix/store/dp9wv3bsiz89fmysx2inq9rbn4jidgbp-nodejs-slim-20.10.0/bin/node]
 matrix-appservice-irc[895]:  2: 0xa9f27c  [/nix/store/dp9wv3bsiz89fmysx2inq9rbn4jidgbp-nodejs-slim-20.10.0/bin/node]
 matrix-appservice-irc[895]:  3: 0xdf67b0 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/nix/store/dp9wv3bsiz89fmysx2inq9rbn4jidgbp-nodejs-slim-20.10.0/bin/node]
 matrix-appservice-irc[895]:  4: 0xdf6b84 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/nix/store/dp9wv3bsiz89fmysx2inq9rbn4jidgbp-nodejs-slim-20.10.0/bin/node]
 matrix-appservice-irc[895]:  5: 0x1012437  [/nix/store/dp9wv3bsiz89fmysx2inq9rbn4jidgbp-nodejs-slim-20.10.0/bin/node]
 matrix-appservice-irc[895]:  6: 0x10124bb  [/nix/store/dp9wv3bsiz89fmysx2inq9rbn4jidgbp-nodejs-slim-20.10.0/bin/node]
 matrix-appservice-irc[895]:  7: 0x102827d v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::internal::GarbageCollectionReason, char const*) [/nix/store/dp9wv3bsiz89fmysx2inq9rbn4jidgbp-nodejs-slim-20.10.0/bin/node]
 matrix-appservice-irc[895]:  8: 0x1028d70 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/nix/store/dp9wv3bsiz89fmysx2inq9rbn4jidgbp-nodejs-slim-20.10.0/bin/node]
 matrix-appservice-irc[895]:  9: 0x1003e22 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/nix/store/dp9wv3bsiz89fmysx2inq9rbn4jidgbp-nodejs-slim-20.10.0/bin/node]
 matrix-appservice-irc[895]: 10: 0x1004f84 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/nix/store/dp9wv3bsiz89fmysx2inq9rbn4jidgbp-nodejs-slim-20.10.0/bin/node]
 matrix-appservice-irc[895]: 11: 0xfe4094 v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [/nix/store/dp9wv3bsiz89fmysx2inq9rbn4jidgbp-nodejs-slim-20.10.0/bin/node]
 matrix-appservice-irc[895]: 12: 0xfd42fc v8::internal::FactoryBase<v8::internal::Factory>::NewFixedArrayWithMap(v8::internal::Handle<v8::internal::Map>, int, v8::internal::AllocationType) [/nix/store/dp9wv3bsiz89fmysx2inq9rbn4jidgbp-nodejs-slim-20.10.0/bin/node]
 matrix-appservice-irc[895]: 13: 0x12f5e1d v8::internal::OrderedHashTable<v8::internal::OrderedHashMap, 2>::Allocate(v8::internal::Isolate*, int, v8::internal::AllocationType) [/nix/store/dp9wv3bsiz89fmysx2inq9rbn4jidgbp-nodejs-slim-20.10.0/bin/node]
 matrix-appservice-irc[895]: 14: 0x12f5ec0 v8::internal::OrderedHashTable<v8::internal::OrderedHashMap, 2>::Rehash(v8::internal::Isolate*, v8::internal::Handle<v8::internal::OrderedHashMap>, int) [/nix/store/dp9wv3bsiz89fmysx2inq9rbn4jidgbp-nodejs-slim-20.10.0/bin/node]
 matrix-appservice-irc[895]: 15: 0x141d3b2 v8::internal::Runtime_MapGrow(int, unsigned long*, v8::internal::Isolate*) [/nix/store/dp9wv3bsiz89fmysx2inq9rbn4jidgbp-nodejs-slim-20.10.0/bin/node]
 matrix-appservice-irc[895]: 16: 0x1847ef6  [/nix/store/dp9wv3bsiz89fmysx2inq9rbn4jidgbp-nodejs-slim-20.10.0/bin/node]
 systemd[1]: matrix-appservice-irc.service: Main process exited, code=dumped, status=6/ABRT
 systemd[1]: matrix-appservice-irc.service: Failed with result 'core-dump'.
18:02:37
@hexa:lossy.networkhexathe machine had 4G in use, 4G cached/buffered18:03:54
@dominic_:matrix.org@dominic_:matrix.org joined the room.19:15:55
@dominic_:matrix.org@dominic_:matrix.orgHi, ich versuche meine Netxjs App nach mit nix zu bauen.19:29:57
@dominic_:matrix.org@dominic_:matrix.org
        nodejs = nodejs_20;
        appBuild = buildNpmPackage {
          src = ./.;
          npmBuild = "npm run build";
          npmPackFlags = [ "--ignore-scripts" ];
          pname = "parkfuchs";
          version = "1.6.5";
          npmDepsHash = "sha256-L4440lAbgc0U06KlzIqcnyTc5lnrH678apbraK+6mQ8=";
        };``` 
19:30:09
@dominic_:matrix.org@dominic_:matrix.orger baut die binary aber im result/bin order fehlt der next/static ordner19:30:40
@dominic_:matrix.org@dominic_:matrix.org
└── parkfuchs```
19:33:06
@dominic_:matrix.org@dominic_:matrix.org *
└── parkfuchs
```
19:33:11
@dominic_:matrix.org@dominic_:matrix.org *
└── parkfuchs
19:33:20
@dominic_:matrix.org@dominic_:matrix.org * result/bin/ └── parkfuchs19:33:35
@whentze:matrix.orgWanja Hentzegibts im result/ Ordner sonst irgendwas?19:36:01
@dominic_:matrix.org@dominic_:matrix.org
In reply to @whentze:matrix.org
gibts im result/ Ordner sonst irgendwas?
nein
19:36:09
@whentze:matrix.orgWanja Hentzerip19:36:32
@dominic_:matrix.org@dominic_:matrix.org
In reply to @whentze:matrix.org
gibts im result/ Ordner sonst irgendwas?
* nein, warte doch lib/node_modules
19:36:37
@joepie91:pixie.town@joepie91:pixie.town
In reply to @hexa:lossy.network
how shitty is the v8 gc?
not really; that error basically means that it couldn't find anything eligible for garbage collection (and ran out of allowed memory), even after a full GC cycle, and that usually means there is a memory leak in the application
19:36:42
@whentze:matrix.orgWanja Hentzevielleicht musst du die InstallPhase erweitern19:36:55
@whentze:matrix.orgWanja Hentzeum den static Ordner auch nach $out zu kopieren19:37:16
@joepie91:pixie.town@joepie91:pixie.town(note that V8 has its own heap size limit independent of the system memory; that can be controlled through v8 flags)19:37:53
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de
In reply to @whentze:matrix.org
um den static Ordner auch nach $out zu kopieren
¿Donde está el support español?
19:43:39
@janik0:matrix.org@janik0:matrix.org
In reply to @dominic_:matrix.org
Hi, ich versuche meine Netxjs App nach mit nix zu bauen.
yeah would be pretty nice if you could ask in english since most of the nixos channels are international
19:44:57
@whentze:matrix.orgWanja Hentzedésolé, c'est le support francophone nix nodejs, comment puis-je vous aider?19:47:46
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de
In reply to @whentze:matrix.org
désolé, c'est le support francophone nix nodejs, comment puis-je vous aider?
Je m'appelle Emanuel Macron
19:50:02
* @joepie91:pixie.town@joepie91:pixie.town thinks that "international = english" doesn't make that much sense as an assumption19:50:46
@hexa:lossy.networkhexa