Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Memory Warning
#10
(06-08-2024, 03:49 PM)Dav Wrote: I got a memory error in the IDE recently for the first time. When the IDE started it said it was turning syntax highlighting off because of low memory.  This is with the 64-bit version on linux. 12gb of ram.  Nothing else running.  I turned syntax highlighting back on without problems.
- Dav
If you mean the "Syntax Highlighter has been disabled to avoid slowing down the IDE" message, that's time-based: the IDE sets a timer and if things get too slow if turns off highlighting.

You don't need _MEM to get the size of an array, just use LEN:
Code: (Select All)

DIM a(250, 250, 500)
bytes&& = LEN(a())
PRINT "Array size in MB:"; bytes&& / 1024 / 1024
Reply


Messages In This Thread
Memory Warning - by Dimster - 06-08-2024, 12:21 PM
RE: Memory Warning - by SMcNeill - 06-08-2024, 01:06 PM
RE: Memory Warning - by Dimster - 06-08-2024, 03:21 PM
RE: Memory Warning - by RhoSigma - 06-08-2024, 04:24 PM
RE: Memory Warning - by Dav - 06-08-2024, 03:49 PM
RE: Memory Warning - by SMcNeill - 06-08-2024, 03:51 PM
RE: Memory Warning - by Dimster - 06-08-2024, 05:21 PM
RE: Memory Warning - by SMcNeill - 06-08-2024, 05:36 PM
RE: Memory Warning - by SMcNeill - 06-08-2024, 08:46 PM
RE: Memory Warning - by luke - 06-09-2024, 05:52 AM
RE: Memory Warning - by Dimster - 06-09-2024, 01:05 PM



Users browsing this thread: 1 Guest(s)