I can see several memory allocation commands but not one to show the current free ram on the system ?
Also is there a command to identify the current processor/video card and possibly their capabilities ?
Thanks in advance...
Free ram and processor/video card ID ?
- DigitalDreams
- User
- Posts: 18
- Joined: Mon Oct 30, 2023 10:50 pm
Re: Free ram and processor/video card ID ?
Don't know about Graphics card without some diggingSyntax
Result.q = MemoryStatus(Type)
Description
Returns the specified memory type information.
Parameters
Type The type of memory to get. It can be one of the following value:
#PB_System_TotalPhysical: the total amount of installed memory, in bytes
#PB_System_FreePhysical : the available memory, in bytes
#PB_System_TotalVirtual : the total virtual memory size, in bytes (Windows only)
#PB_System_FreeVirtual : the available virtual memory size, in bytes (Windows only)
#PB_System_TotalSwap : the total swap memory size, in bytes (Windows and Linux only)
#PB_System_FreeSwap : the available swap memory size, in bytes (Windows and Linux only)
#PB_System_PageSize : the memory page size, in bytes (usually 4KB).
Return value
Returns the specified memory type information.
Supported OS
Re: Free ram and processor/video card ID ?
It seems that openGL had a function to know this.