节点文献

Java3D中垃圾回收问题及解决方法

Garbage reclaiming and solving method in Java3D

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 黄有群杜鹏

【Author】 HUANG You-qun,DU Peng(School of Information Science and Engineering,Shenyang University of Technology,Shenyang 110178,China)

【机构】 沈阳工业大学信息科学与工程学院

【摘要】 为了解决Java3D搭建的三维场景需要占用大量内存空间、容易导致内存溢出的问题,通过分析修改场景后需对场景中不再使用的Java3D对象进行垃圾回收、但Java垃圾回收机制无法直接作用于Java3D对象这一现象,在具体应用中设计了2种有效的方法对Java3D对象进行垃圾回收,分别实现了对整个场景和单个分支的Java3D对象的垃圾回收.实验证明,该方法能够及时释放Java3D对象占用的内存空间,避免内存溢出现象的发生,在一定程度上解决了Java对象垃圾回收不充分的问题.

【Abstract】 Three-dimensional scene constructed by Java3D takes up a lot of memory,which may lead to the memory overflow.It is necessary to reclaim the Java3D garbage after modifying the scene.However,the garbage reclaiming mechanism can not directly act on the Java3D object.Thus,two effective methods for garbage reclaiming of Java3D object were designed.The garbage reclaiming of Java3D object for whole scene and single branch is realized respectively.The experiments show that this method can release the memory possessed by Java3D object in time and avoid the memory overflow.The method solves the inadequate garbage reclaiming problem of Java object.

【基金】 辽宁省科技厅科技攻关资助项目(2002216008)
  • 【文献出处】 沈阳工业大学学报 ,Journal of Shenyang University of Technology , 编辑部邮箱 ,2009年04期
  • 【分类号】TP312.1
  • 【下载频次】98
节点文献中: 

本文链接的文献网络图示:

本文的引文网络