GithubHelp home page GithubHelp logo

Comments (3)

jiywang3 avatar jiywang3 commented on August 18, 2024

The high memory usage is probably due to the surface creation. Try to do that as the last step.

I fixed the share link issue. The '&' in the command string caused the problem.

Thank you for your bug report. Please let me know if you see any problems.

from icn3d.

jmahita avatar jmahita commented on August 18, 2024

Thank you for your response. However, we still face issues even without the surface representation. Here are the steps I did before it crashed (Google Chrome, Mac OSX)

  1. Open iCn3D
  2. Load '7DDD' PDB structure
  3. select chain 7DDD_A
  4. Color selection to color 1
  5. select chain 7DDD_B
  6. Color selection to color 2
  7. select chain 7DDD_C
  8. Color selection to color 3
  9. Open "View Sequence and Annotations", detailed view
  10. Select a single residue A
  11. Change style to 'Sphere'
  12. Change color to some color
  13. Select another single residue B
  14. Change style to 'Sphere'
  15. Change color to another color
    This is where it crashed, though it has crashed earlier or later (at random steps). Even without coloring the chains, and going directly to the residue selection step, it was found to crash.

from icn3d.

jiywang3 avatar jiywang3 commented on August 18, 2024

Wow, that's such a memory leak. It's related to the dispose() function in three.js (v103.0). I have to call "renderer.renderLists.dispose();" to get the memory finally cleared. It should be fixed in production! Thanks a lot for the bug report.

from icn3d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.