Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot upgrade because RAM #23

Open
Ddataa opened this issue Jun 10, 2024 · 3 comments
Open

Cannot upgrade because RAM #23

Ddataa opened this issue Jun 10, 2024 · 3 comments

Comments

@Ddataa
Copy link
Member

Ddataa commented Jun 10, 2024

Describe the bug

When trying to upgrade it fails with error :
DEBUG - [facilmap-frontend]: FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory

Context

  • Hardware: VPS bought online
  • YunoHost version: latest stable
  • I have access to my server: Through SSH | through the webadmin
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
  • Using, or trying to install package version/branch:
  • If upgrading, current package version: 3.4.0~ynh3

Steps to reproduce

  • have a machine with just 1.1G available and try to upgrade

Expected behavior

it uses the swap that has been added in order to compile

Logs

https://paste.yunohost.org/raw/rupibiguwo

@eauchat
Copy link
Collaborator

eauchat commented Oct 26, 2024

I think this may be more an issue to post upstream to facilmap issues tracker, since I don't think it's yunohost specific.

@cdauth
Copy link
Collaborator

cdauth commented Oct 26, 2024

One relevant issue could be that in commit 7225c27, the build script was changed to build the app rather than downloading the prebuilt bundle from NPM. I don't know why this change was made, but it causes the installation of the app to require much more memory than would be necessary for its execution.

@eauchat
Copy link
Collaborator

eauchat commented Oct 26, 2024

Don't know why the change was made, maybe @ericgaspar knows the reason for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants