Memory optimization

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rohit Kanugo
    New Member
    • Nov 2010
    • 1

    #1

    Memory optimization

    Hi....I am writing a programm in vb.net having folders of 60,000. In a folder 10 file.

    When i run my application memory increases upto 678,300K.
    I allready used GC and disposed method.. but there is no change in memory used.
    Can anybode have an idea to optimized the momory.....

    Thanks in Advance,
    Rohit Kanugo
  • bluesathish
    New Member
    • Mar 2010
    • 22

    #2
    You try to increase your System Pagefile memory.

    Goto System Properties -> Advanced -> Performance -> settings -> Advance - > Virtual memory -> increase the memory as per you wanted level.

    Comment

    • kjv1611
      New Member
      • May 2011
      • 4

      #3
      A guess

      If you are using objects, try releasing the object after each iteration (if possible in your scenario, and re-instantiate for the next iteration).

      --Not an expert on vb.net at all, just thinking about object usage.

      Basically, it SOUNDS like either 1 of 2 things is happening:
      1. Something really large is being opened in memory (within an object apparently)
      2. Or else some object is being opeened, and left open too long - and thus gaining in size...

      These are just guesses as you did not provide much detail as to fully diagnose the situation.

      Comment

      Working...