登录
首页 » Java » jmemory

jmemory

于 2014-05-28 发布 文件大小:30KB
0 146
下载积分: 1 下载次数: 1

代码说明:

  Java监视内存使用情况,运行Java 程序一般要消耗大量的内存,这曾经是java 的一个致命弱点。当然随着硬件的飞速发展,这个缺点有所弱化,同时java 虚拟机的逐渐成熟,也使内存的消耗量减少。那么一个较小java 程序   究竟要消耗多少内存呢?本例将实现一个能自我监视内存使用的简单程序,来评估java 程序的内存消耗情况。(Java monitor memory usage, run Java programs generally consume large amounts of memory, which used to be a fatal weakness of java. Of course, with the rapid development of hardware, this shortcoming has been weakened, while mature java virtual machine, but also to reduce memory consumption. Then a small java program How to consume much memory? This example of a simple program memory can be used for self-monitoring to assess memory consumption java program.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • TREE_INT
    Tree AVL In an AVL tree, the heights of the two child subtrees of any node differ by at most one if at any time they differ by more than one, rebalancing is done to restore this property. Lookup, insertion, and deletion all take O(log n) time in both the average and worst cases, where n is the number of nodes in the tree prior to the operation. Insertions and deletions may require the tree to be rebalanced by one or more tree rotations.
    2014-12-05 02:27:12下载
    积分:1
  • SubscriptedLabel
    JAVA的一个关于标注的小算法很方便的一个东西(One thing about a marked small algorithm JAVA is very convenient)
    2014-05-12 11:27:42下载
    积分:1
  • 11
    说明:  javaWeb微信支付 支付宝支付 银联支付.zip java版支付宝网站集成代码实例及详解 UTF.zip 银联支付接口文档和demo.zip java 银联网站支付接口.txt(JavaWeb microblog payment Alipay pay CUP payment Java version of the Alipay site integration code examples and explain UTF.zip CUP payment interface documentation and demo.zip Java CUP website payment interface)
    2016-11-06 16:08:27下载
    积分:1
  • fushutest
    fushutest用来实现两个复数的加减乘数,里面的代码需要自己填写(fushutest be used to achieve the addition and subtraction of two complex multiplier, which fill in the code that needs its own)
    2009-10-21 18:52:31下载
    积分:1
  • liredemo
    基于lunce,liredemo 演示文档(Demo document based on lunce and liredemo)
    2020-06-24 18:40:02下载
    积分:1
  • regress-89443
    Just seeing if this script will compile without stack overflow.
    2014-02-09 13:16:50下载
    积分:1
  • Desktop
    说明:  java AES 和 DES加密解密工具类(Java AES and DES Encryption and Decryption Tool Class)
    2020-06-25 03:20:02下载
    积分:1
  • BroadCast
    网络编程中关于组播的一段代码 希望对大家有用(Network programming on multicast to all of us hope for some useful code)
    2007-12-19 17:37:23下载
    积分:1
  • Mypicture
    定义4个类,MyShape、MyLine、MyRectangle和MyOval,其中MyShape是其他三个类的父类。MyShape为抽象类,包括图形位置的四个坐标;一个无参的构造方法,将所有的坐标设置为0;一个带参的构造函数,将所有的坐标设置为相应值;每个坐标的设置和读取方法;abstract void draw(Graphics g)方法。MyLine类负责画直线,实现父类的draw方法;MyRectangle负责画矩形,实现父类的draw方法;MyOval负责画椭圆,实现父类的draw方法。编写一个应用程序,使用上面定义的类,随机选取位置和形状,绘制20个图形。(Defines four classes, MyShape, MyLine, MyRectangle and MyOval, which MyShape the other three parent class. MyShape is an abstract class, including graphics position four coordinates a no-argument constructor, all the coordinates are set to 0 a parameterized constructor, all the coordinates is set to the corresponding values each coordinate set and reading method abstract void draw (Graphics g) method. MyLine class is responsible for drawing straight lines, to achieve the draw method of the parent class MyRectangle responsible for drawing rectangles, to achieve the parent class draw method MyOval responsible painted oval, draw method to achieve the parent class. Write an application that uses the class defined above, randomly selected location and shape, draw 20 graphics.)
    2021-04-14 09:08:55下载
    积分:1
  • weblogic基本概念
    WebLogic 应用服务器有如下几个基本概念:  Domain: 域是个逻辑概念,用来组织管理一系列的应用服务器实例,也就是下面要解释的server. 域是WebLogic应用服务器中最大的概念,WebLogic应用服务器启动的时候就是以某个域来启动的,它有一个中心配置文件叫config.xml. A domain is the basic administration unit for WebLogic Server instances (servers) that is represented in its own configuration file (config.xml). A domain consists of one or more servers (and their associated resources) that you manage with a single Administration Server. Cluster: 族也是一个逻辑概念,用来分组用途相同的服务器实例,一个域中可以有多个族。 A cluster is a deployment in which multiple WebLogic Server instances (servers) run simultaneously and work together to provide increased scalability and reliability. A cluster appears to clients to be a single WebLogic Server instance. The servers that constitute a cluster can run on the same machine, or be located on different machines. Machine: 机器是物理上的概念,代表一台运行WebLogic应用服务器的实在的机器,包括其IP地址等信息。一个域中可以包括多台机器。(同一台机器可以属于不同的域吗?) A machine is the logical representation of the computer that hosts one or more WebLogic Server instances (servers). WebLogic Server uses configured machine names to determine the optimum server in a cluster to which certain tasks, such as HTTP session replication, are delegated. The Administration Server uses the machine definition in conjunction with the Node Manager application to start remote servers. Server: 服务器,也就是一个应用服务器的实例,用来部署和运行各种J2EE应用程序,也可以来配置各种服务程序。它是WebLogic应用服务器的基本服务单元。一个WebLogic域中一般有一个管理服务器和多个被管理服务器。也就是下面我们要谈到的两个概念。  A server is an instance of WebLogic Server that runs in its own Java Virtual Machine (JVM) and has its own configuration. Each WebLogic Server domain must have one server that acts as the Administration Server. In a typical production environment, the Administration Server is where the Administration Console is run and used to perform administrative tasks. By default, the Administration Server is called myserver. A typical production environment may also have one or more Managed Servers, which are instances of WebLogic Server used to host enterprise applications. Administrative Server: 管理服务器是用来管理配置域的中心点,一般来说,管理服务器上是不部署应用程序的,而是用来统一管理、配置、监控被管理服务器以及部署应用程序到被管理服务器上。一个域中有一台管理服务器。 Managed Server: 被管理服务器是用来部署运行各种应用程序的。一个域中有一台或多台被管理服务器。 Node Manager: 节点管理器是一个单独运行的后台程序,一般运行在被管理服务器的机器上,用来提供远程启动和停止服务器(Server)的功能。
    2014-02-28下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载