This is an automated email from the ASF dual-hosted git repository.

hainenber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 004f02746f fix(build): Increase ForkTsCheckerWebpackPlugin memory 
limit to fix OOM error (#37583)
004f02746f is described below

commit 004f02746fcac8d5a7f2ba87ae3e8b68575abace
Author: Michael S. Molina <[email protected]>
AuthorDate: Sat Jan 31 04:22:17 2026 -0300

    fix(build): Increase ForkTsCheckerWebpackPlugin memory limit to fix OOM 
error (#37583)
---
 superset-frontend/webpack.config.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/superset-frontend/webpack.config.js 
b/superset-frontend/webpack.config.js
index 03e48cc3c5..4b643de595 100644
--- a/superset-frontend/webpack.config.js
+++ b/superset-frontend/webpack.config.js
@@ -69,7 +69,7 @@ const isDevMode = mode !== 'production';
 const isDevServer = process.argv[1]?.includes('webpack-dev-server') ?? false;
 
 // TypeScript checker memory limit (in MB)
-const TYPESCRIPT_MEMORY_LIMIT = 4096;
+const TYPESCRIPT_MEMORY_LIMIT = 8192;
 
 const output = {
   path: BUILD_DIR,
@@ -205,7 +205,7 @@ if (!isDevMode) {
     new ForkTsCheckerWebpackPlugin({
       async: false,
       typescript: {
-        memoryLimit: 4096,
+        memoryLimit: TYPESCRIPT_MEMORY_LIMIT,
         build: true, // CRITICAL: Generate .d.ts files for plugins
         mode: 'write-references', // Handle project references
         configOverwrite: {

Reply via email to