How To Find Out Total And Available Memory

CK CK 3788 
Created at
Updated at  
1,638 0 0

Get the total and available memory in your system. (Total free memory space in your system)

 

procedure TForm1.Button1Click(Sender: TObject); 
var 
  memory:TMemoryStatus; 
begin 
  memory.dwLength:=sizeof(memory); 
  GlobalMemoryStatus(memory); 
  ShowMessage('Total RAM / total memory: '+inttostr(memory.dwTotalPhys)+' Bytes'); 
  ShowMessage('Freie RAM / available memory: '+inttostr(memory.dwavailPhys)+' Bytes'); 
end;



 

Tags available memory available memory size available memory space free memory free memory size free memory space Facebook X
Comments 0
  1. Get File 'Last Modified' attribute
    465
  2. From/to the 8.3 (short) format to/from the long format
    579
  3. Delete folders recursively
    423
  4. Delete files with the ability to UNDO
    439
  5. Does my CD-ROM drive contain an audio CD?
    364
  6. Convert a mapped drive to a full UNC path
    832
  7. Checking If File Is In Use
    921
  8. Browse for Computers, Folders, Files and Printers
    571
  9. How to draw Transparent Text on bitmap
    386
  10. How Do I Remove The Application Icon From The Taskbar?
    1,098
  11. How To Show The Print Dialog And Print Text Files
    1,295
  12. How To Make An Animated Application Icon
    820
  13. How To Pass The Focus To The Next/prior Control
    1,209
  14. How To Make Rounded Windows
    1,227
  15. How To Get Windows Uptime
    1,476
  16. How To Change The System Time
    1,253
  17. How To Get The Windows OS Version
    618
  18. How To Change The Desktop Wallpaper
    2,145
  19. How To Get The Windows Language
    1,145
  20. How To Make A Gradient Filled Form
    839
  21. How can I hide the caption bar on a form?
    1,398
  22. How To Send An E-mail By Code
    1,115
  23. How To Open Url In Default Webbrowser
    458
  24. How To Check If A Soundcard Is Installed
    1,560
  25. How To Change Screen Resolution
    2,070
  26. How To Force The Correct Decimal Separator
    1,775
  27. How To Register Own File Types
    1,188
  28. How To Get Volume Name
    409
  29. How To Get Windows And System Directory
    2,691
  30. Get The Drive Type
    497
Recently updated
  1. Why 100% SEO Guarantees Better User Engagement and How to Achieve It in Your Service
    39
  2. Why SPF and DKIM Are Essential for Linux Email Servers?
    34
  3. How do I create animated background for Google Meet?
    20,611
  4. MaxMind GeoLite2 vs. DB-IP Lite vs. ip-api.com: Choosing the Right Free IP Geolocation Solution
    244
  5. Meet Valkey: Why Redis Changed Its License, Why Valkey is Better, and How to Use It as a Drop-in Replacement
    94
  6. How Rogue Web Scrapers Are Stealing My Content and Destroying My Server
    157
  7. Array of arguments passed to script in PHP
    90
  8. Invalid Auction Storms in Ad Tech
    98
  9. Building MRC-Compliant Instrumentation in Ad Tech: Implementation Steps and Key Challenges
    202
  10. The Two Clocks of Ad Server Architecture
    70
  11. Frequency Cap Architecture Overview
    514
  12. Collecting Proof-of-Play from 100,000 Screens
    146
  13. Vector Search in Relational Databases (RDBs): Trends & Usage Environments
    287
  14. What is RedisVL?
    109
  15. Designing a Skill Registry Architecture: Minimize Token Usage and Maximize AI Performance
    230
  16. TPU & GPU Cluster Management Tools
    243
  17. The Concept of Scaffolding in AI Agents
    233
  18. Beyond Static Pipelines: Architecting LLM Multi-Agent Systems for Autonomous Workflow Orchestration
    582
  19. AI-DLC vs. AI-SDLC: Model-Centric vs. System-Centric AI Development
    258
  20. Fine-Tuning Open-Weight LLMs: Training, Licensing, and Deploying Custom Models with Ollama
    338
  21. Inside the Next-Generation Streaming Architecture: Ultra-Low Latency, SGAI, and AI Codecs
    202
  22. Machine Learning: Training vs. Ranking
    221
  23. The Continuous Learning Machine: Designing a Loop That Actually Turns
    222
  24. The Next-Gen Low-Latency Standards: LL-HLS & MoQ
    195
  25. Designing a Data Curation System Around a Vector Database
    220
  26. Extracting Context from Live Video: The Architecture Got Simpler When We Stopped Building Features
    256
  27. The New Ad Stack Behind Live Sports Streaming: Inside SGAI, EABN, and the Standards Race to Fix Live Monetization
    656
  28. Designing MLOps Architectures to Handle Seasonal Data Drift in EV Fleet Models
    195
  29. From 15 to 40+ FPS: Accelerating PyTorch Object Detection on Automotive ECUs
    216
  30. Understanding Data Lineage
    260