4paradigm / 4paradigm/OpenMLDB

build: compile take too much memory and might freeze the host machine

Aperta
#882 2 commenti 0 reazioni 1 assegnatario Rivendicata da @aceforeverd Vedi su GitHub
documentation enhancement
Lingua principale
C++
Stelle
1.7k
Fork
331
Merge medio
12g 12h
PR unite (30g)
1

Descrizione

## Brief

@Shouren have made some test for that:
https://github.com/4paradigm/OpenMLDB/pull/870#discussion_r766343266

turns out compile may easy to down if
- host memory is low, say 4G
- enable parallel build, current default to `$(nproc)`

especially compile targets like `avg_by_category_def.cc`

## Other

Should documented minimal requirements of compilaion

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.