regl icon indicating copy to clipboard operation
regl copied to clipboard

Can't build the gallery anymore.

Open Erkaman opened this issue 7 years ago • 7 comments

On my branch pick-buffer, I added a pickBuffer example. But it seems like this addition finally broke the camel's back, because if I try to build the gallery, it runs for a while, and then I get this error:

<--- Last few GCs --->

  158865 ms: Scavenge 1257.7 (1435.0) -> 1257.5 (1435.0) MB, 38.8 / 0 ms [allocation failure].
  158907 ms: Scavenge 1257.7 (1435.0) -> 1257.7 (1435.0) MB, 41.7 / 0 ms [allocation failure].
  158953 ms: Scavenge 1257.7 (1435.0) -> 1257.7 (1435.0) MB, 45.0 / 0 ms [allocation failure].
  158997 ms: Scavenge 1257.7 (1435.0) -> 1257.7 (1435.0) MB, 44.0 / 0 ms [allocation failure].
  159042 ms: Scavenge 1257.7 (1435.0) -> 1257.7 (1435.0) MB, 44.7 / 0 ms [allocation failure].


<--- JS stacktrace --->
Cannot get stack trace in GC.
FATAL ERROR: Scavenger: semi-space copy
 Allocation failed - process out of memory
Abort trap: 6

However, if I remove this line from bin/build-gallery.js:

      b.transform(es2020)

it works again.

Erkaman avatar Sep 23 '16 20:09 Erkaman

We need to break out the build for each module into a separate process. Could do this with a makefile.

mikolalysenko avatar Sep 23 '16 22:09 mikolalysenko

More generally though this ties in with splitting out the gallery into a separate repo.

mikolalysenko avatar Sep 23 '16 22:09 mikolalysenko

Gonna start working on this.

mikolalysenko avatar Oct 24 '16 23:10 mikolalysenko

@Erkaman @mikolalysenko I believe #384 solved this issue

jwerle avatar Dec 14 '16 16:12 jwerle

@mikolalysenko should this be closed?

jwerle avatar Feb 23 '17 13:02 jwerle

Not yet, I'm going to scrub all built artifacts from git and move it to a separate repo. This situation with the size of built assets has gotten out of hand.

mikolalysenko avatar Feb 23 '17 16:02 mikolalysenko

:+1: sounds great! looking forward to this!

jwerle avatar Feb 23 '17 16:02 jwerle