@@ -82,13 +79,19 @@ Viewing the largest objects in your process
...
@@ -82,13 +79,19 @@ Viewing the largest objects in your process
This payload uses `meliae <https://launchpad.net/meliae>`_ to dump all of the objects in your process to an `objects.json` file (currently dumped in the working directory of your process).
This payload uses `meliae <https://launchpad.net/meliae>`_ to dump all of the objects in your process to an `objects.json` file (currently dumped in the working directory of your process).
::
We recommend using python-meliae from your OS distribution, if available. If it
is not, you will need to first install Cython, and then meliae seperately. If
pip/easy_install does not work, you may need to use the tarball from the
upstream website.
$ pyrasite <PID> payloads/dump_memory.py
::
$ pyrasite <PID> pyrasite/payloads/dump_memory.py
Pyrasite also provides a tool to view the values of largest objects in your process.
Pyrasite also provides a tool to view the values of largest objects in your
process. This requires `urwid <http://pypi.python.org/pypi/urwid>`_ to be
target.VCanvas=this;},drawShape:function(path,lineColor,fillColor,lineWidth){alert('drawShape not implemented');},drawLine:function(x1,y1,x2,y2,lineColor,lineWidth){returnthis.drawShape([[x1,y1],[x2,y2]],lineColor,lineWidth);},drawCircle:function(x,y,radius,lineColor,fillColor){alert('drawCircle not implemented');},drawPieSlice:function(x,y,radius,startAngle,endAngle,lineColor,fillColor){alert('drawPieSlice not implemented');},drawRect:function(x,y,width,height,lineColor,fillColor){alert('drawRect not implemented');},getElement:function(){returnthis.canvas;},_insert:function(el,target){$(target).html(el);}};VCanvas_canvas=function(width,height,target){returnthis.init(width,height,target);};VCanvas_canvas.prototype=$.extend(newVCanvas_base(),{_super:VCanvas_base.prototype,init:function(width,height,target){this._super.init(width,height,target);this.canvas=document.createElement('canvas');if(target[0]){target=target[0];}