Skip to content

Commit

Permalink
Increase Wasm memory limits
Browse files Browse the repository at this point in the history
  • Loading branch information
jirkamarsik committed Jan 23, 2025
1 parent 6eef98d commit 22a439d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* The Universal Permissive License (UPL), Version 1.0
Expand Down Expand Up @@ -62,7 +62,7 @@
import com.oracle.truffle.js.runtime.objects.JSObjectUtil;

public class JSWebAssemblyMemory extends JSNonProxy implements JSConstructorFactory.Default, PrototypeSupplier {
public static final int MAX_MEMORY_SIZE = 32767;
public static final int MAX_MEMORY_SIZE = 65536;
public static final TruffleString CLASS_NAME = Strings.constant("Memory");
public static final TruffleString PROTOTYPE_NAME = Strings.constant("Memory.prototype");

Expand Down

0 comments on commit 22a439d

Please sign in to comment.