Projet

Général

Profil

Demande #5269

problème de build du frontal mobilizon

Ajouté par Baptiste Lemoine il y a environ 3 ans. Mis à jour il y a presque 3 ans.

Statut:
Fermé
Priorité:
Normale
Assigné à:
Début:
07/03/2021
Echéance:
% réalisé:

0%

Temps estimé:

Description

mobilizon@biliz:/srv/mobilizon.chapril.org/live/js$ yarn run build
yarn run v1.22.5
$ yarn run build:assets && yarn run build:pictures
$ vue-cli-service build --modern

⠙ Building legacy bundle for production...Starting type checking service...
Using 1 worker with 2048MB memory limit
⠙ Building legacy bundle for production...
<--- Last few GCs --->

[5940:0x4bca400] 93363 ms: Scavenge 481.0 (496.6) -> 480.2 (501.1) MB, 2.6 / 0.0 ms (average mu = 0.453, current mu = 0.440) allocation failure
[5940:0x4bca400] 93373 ms: Scavenge 483.6 (501.1) -> 481.9 (502.1) MB, 3.7 / 0.0 ms (average mu = 0.453, current mu = 0.440) allocation failure
[5940:0x4bca400] 93777 ms: Mark-sweep 484.1 (502.1) -> 482.1 (504.6) MB, 392.4 / 0.3 ms (average mu = 0.318, current mu = 0.131) allocation failure scavenge might not succeed

<--- JS stacktrace --->

FATAL ERROR: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory
1: 0xa7f490 node::Abort() [/usr/bin/node]
2: 0x9a5c4d node::FatalError(char const*, char const*) [/usr/bin/node]
3: 0xc6c2ae v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/usr/bin/node]
4: 0xc6c627 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/bin/node]
5: 0xe360a5 [/usr/bin/node]
6: 0xe65633 v8::internal::EvacuateNewSpaceVisitor::Visit(v8::internal::HeapObject, int) [/usr/bin/node]
7: 0xe721e6 v8::internal::FullEvacuator::RawEvacuatePage(v8::internal::MemoryChunk*, long*) [/usr/bin/node]
8: 0xe5e30f v8::internal::Evacuator::EvacuatePage(v8::internal::MemoryChunk*) [/usr/bin/node]
9: 0xe5e588 v8::internal::PageEvacuationTask::RunInParallel(v8::internal::ItemParallelJob::Task::Runner) [/usr/bin/node]
10: 0xe503a9 v8::internal::ItemParallelJob::Run() [/usr/bin/node]
11: 0xe74170 void v8::internal::MarkCompactCollectorBase::CreateAndExecuteEvacuationTasks<v8::internal::FullEvacuator, v8::internal::MarkCompactCollector>(v8::internal::MarkCompactCollector*, v8::internal::ItemParallelJob*, v8::internal::MigrationObserver*, long) [/usr/bin/node]
12: 0xe749b3 v8::internal::MarkCompactCollector::EvacuatePagesInParallel() [/usr/bin/node]
13: 0xe74d75 v8::internal::MarkCompactCollector::Evacuate() [/usr/bin/node]
14: 0xe874e1 v8::internal::MarkCompactCollector::CollectGarbage() [/usr/bin/node]
15: 0xe433a8 v8::internal::Heap::MarkCompact() [/usr/bin/node]
16: 0xe44d38 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/bin/node]
17: 0xe482dc v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/usr/bin/node]
18: 0xe0bf3a v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [/usr/bin/node]
19: 0xe05444 v8::internal::FactoryBase<v8::internal::Factory>::AllocateRawWithImmortalMap(int, v8::internal::AllocationType, v8::internal::Map, v8::internal::AllocationAlignment) [/usr/bin/node]
20: 0xe07540 v8::internal::FactoryBase<v8::internal::Factory>::NewRawOneByteString(int, v8::internal::AllocationType) [/usr/bin/node]
21: 0x106d73a v8::internal::String::SlowFlatten(v8::internal::Isolate*, v8::internal::Handle<v8::internal::ConsString>, v8::internal::AllocationType) [/usr/bin/node]
22: 0x1067e7a v8::internal::StringTable::LookupString(v8::internal::Isolate*, v8::internal::Handle<v8::internal::String>) [/usr/bin/node]
23: 0x117c382 v8::internal::Runtime_HasProperty(int, unsigned long*, v8::internal::Isolate*) [/usr/bin/node]
24: 0x14fa139 [/usr/bin/node]
Aborted
error Command failed with exit code 134.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 134.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Historique

#1

Mis à jour par Baptiste Lemoine il y a environ 3 ans

  • Description mis à jour (diff)

ajout des logs

#2

Mis à jour par Christian P. Momon il y a environ 3 ans

  • Statut changé de Nouveau à En cours de traitement

Suite à discussion sur ce point, décision d'augmenter la RAM pour permettre de builder dans la vm.

Fait : la vm biliz a maintenant 2 Go de mémoire.

Demande : faire une tentative de build, avec paramétrage si besoin.

#3

Mis à jour par Baptiste Lemoine il y a environ 3 ans

  • Statut changé de En cours de traitement à Résolu

avec un peu plus de ressources sur la VM ça builde bien maintenant.

#4

Mis à jour par Baptiste Lemoine il y a presque 3 ans

  • Statut changé de Résolu à Fermé
#5

Mis à jour par Christian P. Momon il y a presque 3 ans

  • Version cible changé de Backlog à Sprint 2021 avril

Formats disponibles : Atom PDF