divriots / story-to-design

Keep your Figma libraries true-to-code in a single click.
https://story.to.design
26 stars 0 forks source link

Probleme import d'un composant avec beaucoup de variants #171

Closed jeremieparet closed 1 month ago

jeremieparet commented 2 months ago

Bonjour messieurs,

J'ai suivi la procédure de Remy mais j'ai toujours le même problème de connexion lors de l'import d'un composant avec beaucoup de variants (ici les icons avec plusieurs tailles pour chaque icon)

merci !

Jeremie Qonto

voici le log:

0/1503 key=RQGNethAxX args={name:searchNoResult,size:giant} 2024-04-26 13:48:06 [DEBUG] (backend) Processing story design-system-icons--icon-playground 681/1503 key=15K3XwIFTq args={name:documentEdit,size:big} 2024-04-26 13:48:06 [DEBUG] (backend) Processing story design-system-icons--icon-playground 682/1503 key=LMmR_65gp_ args={name:arrowRight,size:notification} 2024-04-26 13:48:06 [DEBUG] (backend) Processing story design-system-icons--icon-playground 683/1503 key=kuuCcSwUY4 args={name:documentEdit,size:bigger} 2024-04-26 13:48:06 [DEBUG] (backend) Processing story design-system-icons--icon-playground 684/1503 key=np2fdL_J_K args={name:send,size:verytiny} 2024-04-26 13:48:06 [DEBUG] (backend) updateStoryResult x7cHDUc31HE8BnT5WtSj: 861ms 2024-04-26 13:48:06 [DEBUG] (backend) Processing story design-system-icons--icon-playground 685/1503 key=Nwq1W6XPTH args={name:lock,size:small} 2024-04-26 13:48:06 [DEBUG] (backend) Processing story design-system-icons--icon-playground 686/1503 key=gYKxy5ASx8 args={name:send,size:notification} 2024-04-26 13:48:06 [DEBUG] (backend) Processing story design-system-icons--icon-playground 687/1503 key=gZH861__tt args={name:arrowRight,size:tiny} 2024-04-26 13:48:06 [DEBUG] (backend) Processing story design-system-icons--icon-playground 688/1503 key=v5sbm8EgZm args={name:documentEdit,size:giant} 2024-04-26 13:48:07 [ERROR] (backend) 2024-04-26 13:48:07 [ERROR] (backend) <--- Last few GCs ---> 2024-04-26 13:48:07 [ERROR] (backend) 2024-04-26 13:48:07 [ERROR] (backend) [15743:0x7fdce0018000] 328350 ms: Mark-sweep 2045.6 (2061.9) -> 2044.5 (2065.0) MB, 39.9 / 0.0 ms (average mu = 0.346, current mu = 0.266) allocation failure; scavenge might not succeed 2024-04-26 13:48:07 [ERROR] (backend) [15743:0x7fdce0018000] 328402 ms: Mark-sweep (reduce) 2046.3 (2066.8) -> 2046.3 (2059.8) MB, 36.4 / 0.0 ms (+ 0.0 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 41 ms) (average mu = 0.322, current mu = 0.294) 2024-04-26 13:48:07 [ERROR] (backend) 2024-04-26 13:48:07 [ERROR] (backend) <--- JS stacktrace ---> 2024-04-26 13:48:07 [ERROR] (backend) 2024-04-26 13:48:07 [ERROR] (backend) FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory 2024-04-26 13:48:07 [ERROR] (backend) 1: 0x1045f27c5 node::Abort() [/Applications/story-to-design agent.app/Contents/MacOS/story-to-design-processor] 2024-04-26 13:48:07 [ERROR] (backend) 2: 0x1045f416a node::OnFatalError(char const*, char const*) [/Applications/story-to-design agent.app/Contents/MacOS/story-to-design-processor] 2024-04-26 13:48:07 [ERROR] (backend) 3: 0x1047cda6b v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/Applications/story-to-design agent.app/Contents/MacOS/story-to-design-processor] 2024-04-26 13:48:07 [ERROR] (backend) 4: 0x104a14dd5 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/Applications/story-to-design agent.app/Contents/MacOS/story-to-design-processor] 2024-04-26 13:48:07 [ERROR] (backend) 5: 0x104a13071 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/Applications/story-to-design agent.app/Contents/MacOS/story-to-design-processor] 2024-04-26 13:48:07 [ERROR] (backend) 6: 0x104a01b9c v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/Applications/story-to-design agent.app/Contents/MacOS/story-to-design-processor] 2024-04-26 13:48:07 [ERROR] (backend) 7: 0x104a02a84 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/Applications/story-to-design agent.app/Contents/MacOS/story-to-design-processor] 2024-04-26 13:48:07 [ERROR] (backend) 8: 0x1049de18b v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [/Applications/story-to-design agent.app/Contents/MacOS/story-to-design-processor] 2024-04-26 13:48:07 [ERROR] (backend) 9: 0x1049d44c8 v8::internal::FactoryBase<v8::internal::Factory>::NewRawOneByteString(int, v8::internal::AllocationType) [/Applications/story-to-design agent.app/Contents/MacOS/story-to-design-processor] 2024-04-26 13:48:07 [ERROR] (backend) 10: 0x104b6ba66 v8::internal::JsonParser<unsigned char>::MakeString(v8::internal::JsonString const&, v8::internal::Handle<v8::internal::String>) [/Applications/story-to-design agent.app/Contents/MacOS/story-to-design-processor] 2024-04-26 13:48:07 [ERROR] (backend) 11: 0x104b68f62 v8::internal::JsonParser<unsigned char>::ParseJsonValue() [/Applications/story-to-design agent.app/Contents/MacOS/story-to-design-processor] 2024-04-26 13:48:07 [ERROR] (backend) 12: 0x104b68691 v8::internal::JsonParser<unsigned char>::Parse(v8::internal::Isolate*, v8::internal::Handle<v8::internal::String>, v8::internal::Handle<v8::internal::Object>) [/Applications/story-to-design agent.app/Contents/MacOS/story-to-design-processor] 2024-04-26 13:48:07 [ERROR] (backend) 13: 0x1048880a0 v8::internal::Builtin_JsonParse(int, unsigned long*, v8::internal::Isolate*) [/Applications/story-to-design agent.app/Contents/MacOS/story-to-design-processor] 2024-04-26 13:48:07 [ERROR] (backend) 14: 0x104389d79 [/Applications/story-to-design agent.app/Contents/MacOS/story-to-design-processor] 2024-04-26 13:48:07 [ERROR] CLI cannot be queried at the moment, will retry in 2 seconds (error sending request for url (http://localhost:9265/agent/state?timestamp=1714131842909): connection closed before message completed) 2024-04-26 13:48:09 [DEBUG] starting new connection: http://localhost:9265/ 2024-04-26 13:48:09 [ERROR] CLI cannot be queried at the moment, will retry in 2 seconds (error sending request for url (http://localhost:9265/agent/state?timestamp=1714131842909): error trying to connect: tcp connect error: Connection refused (os error 61)) 2024-04-26 13:48:11 [DEBUG] starting new connection: http://localhost:9265/ 2024-04-26 13:48:11 [ERROR] CLI cannot be queried at the moment, will retry in 2 seconds (error sending request for url (http://localhost:9265/agent/state?timestamp=1714131842909): error trying to connect: tcp connect error: Connection refused (os error 61)) 2024-04-26 13:48:13 [DEBUG] starting new connection: http://localhost:9265/ 2024-04-26 13:48:13 [ERROR] CLI cannot be queried at the mo

Bug report identity: Please do not edit

Task path: ep257UoJEMTnEDJeFpEl/x7cHDUc31HE8BnT5WtSj/1jkrr071gydbm0

muryoh commented 2 months ago

Hello Jeremie,

Je suis desole mais le report n'a pas fonctionne, surement a cause de l'erreur. Est-ce que tu peux le refaire avec moins de variants pour qu'il puisse passer ?

Note que la configuration que je t'ai donnee n'a pas l'air d'avoir ete prise en compte, je vois toujours 2Go de heap au lieu de 4Go

muryoh commented 2 months ago

Note que la configuration que je t'ai donnee n'a pas l'air d'avoir ete prise en compte, je vois toujours 2Go de heap au lieu de 4Go

On va sortir une version avec 4GB de heap dans le soft 👍

muryoh commented 2 months ago

On vient de la sortir - si tu peux mettre a jour et voir ce que ca donne ce serait top 🙏

jeremieparet commented 1 month ago

It works! Merci :)

image

muryoh commented 1 month ago

Happy to help!