期刊文献+

Android应用程序中的内存泄漏与规避方法 被引量:6

Memory Leak and Avoiding Method of Android Application Program
下载PDF
导出
摘要 Android应用程序的主体采用Java编程语言实现,Java语言的一个显著特点是它通过Java虚拟机和垃圾回收机制管理大部分的内存事务,但是在Java程序中不可避免地存在着内存泄漏的问题。本文从造成Android应用程序内存泄漏的原因入手,对内存泄漏进行检测和定位。阐述了在编写应用程序时规避内存泄漏的方法,并分别介绍了一种内存监测工具和一种内存分析工具的使用方法。 Main part of Android application program is realized using Java programming language. A outstanding feature of Java language is that most memory transactions are managed through Java virtual machine and garbage collection mechanism, But there is inevitable memory leak problem in Java program. In this paper, the reasons of Android application memory leak are analyzed, and memory leak is detected and located. How to avoid memory leak when compiling application program is introduced, and use methods of a memory monito- ring tool and a memory analysis tool are given.
作者 尹文刚 杨斌
出处 《单片机与嵌入式系统应用》 2012年第6期4-6,共3页 Microcontrollers & Embedded Systems
关键词 ANDROID JAVA 内存泄漏 Android Java memory leak
  • 相关文献

参考文献3

二级参考文献22

  • 1贾晓霞,吴际,金茂忠,李郭欢.Java程序内存泄漏综述[J].计算机应用研究,2006,23(9):1-3. 被引量:6
  • 2The Jargon Dictionary[EB/OL].http://info.astiran.net/jargon/terms/m/memory_leak.html,2004.
  • 3QUEST公司.JProbe Memory Debugger Developer's Guide[R].2005.
  • 4Ed Lycklama.Does Java Technology Have Memory Leaks?[R].Chief Technology Officer,KL Group Inc.,2005.
  • 5Paul R Wilson.Uniprocessor Garbage Collection Techniques[C].St.Malo:International Workshop on Memory Management,1992.1-42.
  • 6Bruce Eckel,候捷.Thinking in Java (2nd edition)[M].北京:机械工业出版社,2002..
  • 7Wim De Pauw,Gary Sevitsky.Visualizing Reference Patterns for Solving Memory Leaks in Java[C].Lisbon:Proceedings of the 13th European Conference on OO Programming,1999.116-134.
  • 8N Mitchell,G Sevitsky.Leakbot:An Automated and Lightweight Tool for Diagnosing Memory Leaks in Large Java Applications[C].Darmstadt:European Conference on Object-Oriented Programming (ECOOP),Lecture Notes in Computer Science,Springer-Verlag,2003.351-377.
  • 9Agesen O,Detlefs D,MOSS J E B.Garbage Collection and Local Variable Typeprecision and Liveness in Java Virtual Machines[C].New York:Programming Language Design and Implementation (PLDI),1998.269-279.
  • 10Nagendra Nagarajayya,J Steven Mayer.Improving Java Application Performance and Scalability by Reducing Garbage Collection Times and Sizing Memory Using JDK 1.4.1[EB/OL].http://developers.sun.com/techtopics/mobility/midp/articles/garbagecollection2/#13,2002-11.

共引文献6

同被引文献32

  • 1黄山,杨全胜,杜中军,周密.Java内存管理和内存泄漏的研究[J].中国民航飞行学院学报,2006,17(2):24-27. 被引量:4
  • 2汪永松.Android开发平台之旅[M].北京:机械工业出版社,2012.
  • 3XPSHARP. Android 图片放大缩小[ EB/OL]. [ 2011-12-21 ]. http ://www. linuxidc, com/Linux/2011-12/49926, htm. XPSHARP. Enlarge or Shrink Images in Android [ EB/OL]. [ 2011-12-21 ]. http://www, linuxidc, com/Linux/2011-12/ 49926. htm.
  • 4JEROME DIMARZIO. Android: A Programmer's Guide [ M ]. New Youk: Osborne/McGraw-Hill, 2008.
  • 5WU X, ZHANG X, WANG X. Low Bit-rate Image Compression via Adaptive Down-sampling and Constrained Least Squares Upconversion [ J]. IEEE Transactions on Image Processing, 2009, 8 (3) : 552-561.
  • 6Google ComDanv. Android Develooers [ EB/OL]. [ 2012-10]. httn.//develoner, android, com/.
  • 7XPSHARP.Android图片放大缩小[EB/OL].http://www.linuxidc,com/Linux/2011-12/49926,htm,[2011-12-21].
  • 8张林,曾庆凯.软件安全漏洞的静态检测技术[J].计算机工程,2008,34(12):157-159. 被引量:41
  • 9陈木生.Google Android手机推出市场分析[J].电子与电脑,2008,8(12):10-14. 被引量:2
  • 10朱强.Java内存泄露问题及对策[J].电脑编程技巧与维护,2009(13):81-83. 被引量:2

引证文献6

二级引证文献22

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部