Hjgugugjhuhjggg commited on
Commit
3acffeb
·
verified ·
1 Parent(s): 5c3ae8d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ try:
24
  import psutil
25
  import resource
26
  total_memory = psutil.virtual_memory().total
27
- limit = int(total_memory * 0.01) # 1% del total en bytes
28
  resource.setrlimit(resource.RLIMIT_AS, (limit, limit))
29
  print(f"Memory limit set to {limit} bytes (1% of total system memory).")
30
  except Exception as e:
 
24
  import psutil
25
  import resource
26
  total_memory = psutil.virtual_memory().total
27
+ limit = int(total_memory * 80) # 1% del total en bytes
28
  resource.setrlimit(resource.RLIMIT_AS, (limit, limit))
29
  print(f"Memory limit set to {limit} bytes (1% of total system memory).")
30
  except Exception as e: