score:0
I guess you have somewhere a memory leak (in form of a closure?) that keeps the (not longer used?) diagrams(?) somewhere in memory.
The v8 sometimes needs a bit tweaking when it comes to > 1 GB of memory. Try out --noincremental_marking
and/or --max_old_space_size=81920000
(if you have 8 GB available).
Check for more options with node --v8-options
and go through the --trace*
-parameters to find out what slows down/stops node.
score:1
That is a massive jump in versions. You may want to share what code changes you may have made to get it working on latest stable. The api is not the same as back in v0.3, so that may be part of the problem.
If not then the issue you see it more likely from heap fragmentation than from an actual leak. In later v8 versions garbage collection is more liberal with cleanup to improve performance. (see http://code.google.com/p/chromium/issues/detail?id=112386 for some discussion on this)
You may try running the application with --max_old_space_size=32
which will limit the amount of memory v8 can use to around 32MB. Note the docs say "max size of the old generation", so it won't be exactly 32MB. Just around it, for lack of a better technical explanation.
Also you can track the amount of external memory usage with --trace_external_memory
. This will allow you to know if external memory (i.e. Buffers) are being retained in your application.
You're note on the application hanging around 1.5GB would tell me you're probably on a 64-bit system. You only mentioned it ceases to function, but didn't note if the CPU is spinning during that time. Also since I don't have example code I'm not sure of what might be causing this to happen.
I'd try running on latest development (v0.11.3
at the time of this writing) and see if the issue is fixed. A lot of performance/memory enhancements are being worked on that may help your issue.
Source: stackoverflow.com
Related Query
- Node JS, Highcharts Memory usage keeps climbing
- Is there any way to highlight specific node on click | Highcharts Sankey
- Highcharts force to 0 before climbing again
- Using PhantomJS to create HighCharts grahps server side for use in PDF creation (PHP) - results in exit code 11 from PHPs exec();
- Highcharts - Global configuration with common code and unique data & Headings
- Issues using highcharts node export server from ClojureScript - "0x03 error when performing chart generation"
- Huge memory leak in Highcharts - Create and destroy lacks memory?
- HighCharts Stock Chart error code 18
- highcharts change rendered image source on click
- Highcharts Line Charts Out of memory
- How do i add mouse wheel code in Angular2 highcharts in typescript
- how to display 2 same highcharts without duplicate the code
- Use of DotNet HighCharts dll to make charts in code behind
- How to edit tooltip in Highcharts C# code
- what means ${demo.css} in example files of highcharts ? That piece of code seems to be literal
- passing json values to highcharts from .net code behind
- how to use highcharts tooltip formatter in python code
- passing formatting JavaScript code to HighCharts with JSON
- Different node tooltips in highcharts sankey diagram
- Highcharts display label for pie chart using html table as data source
- Simple, Open source PHP wrapper for Highcharts library
- Highcharts --> organisation chart --> toggle visibility of node
- Add Source to Highcharts Export CSV
- Include additional highcharts source data in angular2 app
- Conditions within highcharts code
- DOM Node count increase when loading Highcharts documents (Chrome)
- Strange character in the Highstock source code
- What's the code in Highcharts such that the bars (columns) in the same group use the same color?
- Highcharts series visibility with csv data source
- HTML table as data source for highstock charts using highcharts
More Query from same tag
- Padding between X-Axis labels in Highchart
- How do i show Last seven days of a week from current date in area spline categories highcharts
- dataClasses name in tooltip through formatter function [Highcharts]
- Export option not visible in Highcharts
- Ruby on Rails: Passing string array to highchart function
- Highcharts resize doesn't always work
- displaying highchart's graphic
- How to apply color stops in highcharter?
- Highcharts tooltips with all items in category listed
- Highcharts spiderweb with columns without rounded edge
- Highcharts Not Displaying AreaRange in Legend
- In HIGHCHARTS unable to set the max point in the gauge
- setting size of chart in dotnet highchart?
- How to implement Asynchronous drilldown in area charts in HIghcharts?
- How to remove the value and number labels from Highcharts angular gauge
- How to make a good structure of array in Yii2?
- Make events run multiple times, Highcharts
- problem Highchart Show/Hide data label on hover legend
- print a value on highcharts bar graph?
- Highcharts Pulling JSON data into series names dynamically
- add axis behind stacked column
- Color grouped bars slightly different in HighCharts
- Highcharts Multi-Panes and Scrollbar
- Displaying a chart using Highcharts
- returning data in json format not properly showing
- dynamic height of chart of highchart
- High Charts - Organizational Chart
- how can i do this using highcharts, superposition two series share with yAixs
- Highcharts, labeling axes, last label not shown correctly, potential bug
- HighChart Tooltip Position can be changed?