Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. memory leak while recreating treeview

memory leak while recreating treeview

Scheduled Pinned Locked Moved ASP.NET
designperformance
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sasire18
    wrote on last edited by
    #1

    hi whenever i create/recreate treeview my memory is consumed by 1mb if i clear folders which are not in use in the wwwroot still it consumes memory .Did anyone here encountered such situation ,if yes how i can deal with this .Iam using microsoft.web.ui.webcontrols.dll (IE webcontrols)installed externally in visual 2003. sasi

    H I 2 Replies Last reply
    0
    • S sasire18

      hi whenever i create/recreate treeview my memory is consumed by 1mb if i clear folders which are not in use in the wwwroot still it consumes memory .Did anyone here encountered such situation ,if yes how i can deal with this .Iam using microsoft.web.ui.webcontrols.dll (IE webcontrols)installed externally in visual 2003. sasi

      H Offline
      H Offline
      HimaBindu Vejella
      wrote on last edited by
      #2

      Please check your connections opened connections should be closed try to avoid the creation of unneceesary objects Review your code so that it should be reusable, to consume less performance "Aim to go where U have never been B4 and Strive to achieve it" http://groups.yahoo.com/subscribe/dotnetforfreshers http://himabinduvejella.blogspot.com

      I 1 Reply Last reply
      0
      • H HimaBindu Vejella

        Please check your connections opened connections should be closed try to avoid the creation of unneceesary objects Review your code so that it should be reusable, to consume less performance "Aim to go where U have never been B4 and Strive to achieve it" http://groups.yahoo.com/subscribe/dotnetforfreshers http://himabinduvejella.blogspot.com

        I Offline
        I Offline
        Ista
        wrote on last edited by
        #3

        HimaBindu Vejella wrote:

        Review your code so that it should be reusable, to consume less performance

        huh? That doesnt actually affect performance. In fact, making project OOP compatible cause a decrease in performance. 1 line of code equals many bugs. So don't write any!!

        1 Reply Last reply
        0
        • S sasire18

          hi whenever i create/recreate treeview my memory is consumed by 1mb if i clear folders which are not in use in the wwwroot still it consumes memory .Did anyone here encountered such situation ,if yes how i can deal with this .Iam using microsoft.web.ui.webcontrols.dll (IE webcontrols)installed externally in visual 2003. sasi

          I Offline
          I Offline
          Ista
          wrote on last edited by
          #4

          Well what size are the pics? maybe convert them to jpeg Maybe use AJAX to populate the treeview. Can you just the top folders and as they drill down populate the children ass needed. The treeview is very bulky. 1 line of code equals many bugs. So don't write any!!

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups