Results 1 to 4 of 4

Thread: Reduce Memory Footprint??

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2002
    Posts
    48

    Question Reduce Memory Footprint??

    I have a small basic program that I made a couple years ago in Visual Basic 6 which I opened in .NET and it runs fine. The only problem I see is that the process for the VB6 version was somewhere around 3,500 K and the new one from .NET runs at about 10,500 K. I also totally reprogrammed a new version from scratch in .NET and it also runs at around 10,500 K.

    Is there anything I can prune from the .NET build that would lower the process memory footprint?? Or do .NET apps just take more memory to run?

    Thanks
    Carl

  2. #2
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682
    I find that .net apps usually take up loads of memory according to the task manager.

    As long as your code is efficient, you shouldn't worry about it.
    I don't live here any more.

  3. #3
    Lively Member TLord's Avatar
    Join Date
    Jun 2004
    Posts
    95
    That's the nature of .Net Framework.

    Anyway you may save small ammount of memory by using inline and direct values rather than declaring several variables and using them.
    Do you think my life is easy?
    Do you think it's good to win?
    do you think it's nice to kill?
    Do you think learning is a must?
    Do you think computers are nothing?
    Do you think this post is stupid?
    Do ypu think we're really humen?

    DO YOU THINK IT'S GOOD TO THINK AT ALL? ? ? ! ! !

  4. #4
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682
    The amount of memory you would save doing that would be negligible. Anyway, I can't think of a reason that would happen anyway, thats what constants are for.

    Never use numeric literals in code, always use constants.
    I don't live here any more.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width