HEMTT icon indicating copy to clipboard operation
HEMTT copied to clipboard

Building addons is caped around 200 MB

Open Katalam opened this issue 5 years ago • 2 comments

HEMTT Version: 0.6.1 (not sure I'll taked the ci method from Brett)

Description: I tried to convert my CBA Project Building to the HEMTT system. When I try to execute .\hemtt build --release it fails with the sentence: memory allocation of 1610612736 bytes failed. The pbo is a music folder with around 250 MB. I removed the folder and everything worked fine. I think a 250 MB cap is quite small. But I am not sure if this is a coded cap.

Steps to reproduce:

  • The music is not on my github but you can use your own music
  • GitHub Link from the rest of the project

Katalam avatar Jun 06 '19 23:06 Katalam

Please provide the full output, this will help us determine where in the program the issue is occurring.

BrettMayson avatar Jun 07 '19 01:06 BrettMayson

This is a bug with Armake2, I think this is being caused by the lack of available memory. This is a result of how Armake2 handles PBOs. The entire thing needs to fit in RAM. You can try using -j 1 to only build one PBO at a time to keep more memory available.

BrettMayson avatar Sep 27 '19 21:09 BrettMayson

This should be fixed in v0.10

BrettMayson avatar Mar 04 '23 22:03 BrettMayson