Thread: Memory Utilization...

  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    1

    Memory Utilization...

    Hi..~
    I'm a student who studying C.
    I Have to make program that works on 1Kbyte Memory...
    (It means 1kbyte memory I Think...)
    But.. How can I measure memory utilization of my sample program ?
    Is there any tools to measure it?


    Env. Info..
    Redhat Fedora 3
    using gcc

    Have a nice day

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    1K is too small to measure - the page size of the OS is something like 4K

    If you post an actual program, we might be able to tell you how to work it out.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Suggestions on this C style code
    By Joelito in forum C Programming
    Replies: 11
    Last Post: 06-07-2007, 03:22 AM
  2. Relate memory allocation in struct->variable
    By Niara in forum C Programming
    Replies: 4
    Last Post: 03-23-2007, 03:06 PM
  3. Copying memory, pointers and the like.
    By psychopath in forum C++ Programming
    Replies: 34
    Last Post: 12-12-2006, 01:37 PM
  4. memory utilization
    By Stream in forum Tech Board
    Replies: 5
    Last Post: 10-18-2005, 04:09 AM
  5. memory utilization
    By Stream in forum C Programming
    Replies: 1
    Last Post: 10-17-2005, 12:12 AM