Failed to render graph

Oct 29, 2016 at 3:19 AM

NodeXL

An unexpected problem occurred. If it occurs again, please copy the details to the clipboard by typing Ctrl-C, then post the details to http://www.codeplex.com/NodeXL/Thread/List.aspx.



Details:



[OutOfMemoryException]: Exception of type 'System.OutOfMemoryException' was thrown.





Server stack trace:

at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)

at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)

at Microsoft.VisualStudio.Tools.Applications.InteropProxyImpl.OnImportedMethodInvoked(MethodInfo methodInfo, Object[] args, Exception& exception)



Exception rethrown at [0]:

at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)

at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)

at Microsoft.Office.Interop.Excel.Range.get_Value(Object RangeValueDataType)

at Smrf.AppLib.ExcelUtil.GetRangeValues(Range range)

at Smrf.NodeXL.ExcelTemplate.VertexWorksheetPopulator.ReadEdgeTable(ListObject oEdgeTable, HashSet`1 oUniqueVertexNames)

at Smrf.NodeXL.ExcelTemplate.VertexWorksheetPopulator.PopulateVertexWorksheet(Workbook workbook, Boolean activateVertexWorksheetWhenDone)

at Smrf.NodeXL.ExcelTemplate.WorkbookReader.ReadWorkbookInternal(Workbook workbook, ReadWorkbookContext readWorkbookContext)

at Smrf.NodeXL.ExcelTemplate.WorkbookReader.ReadWorkbook(Workbook workbook, ReadWorkbookContext readWorkbookContext)

at Smrf.NodeXL.ExcelTemplate.TaskPane.ReadWorkbook(Boolean bLayOutGraph)

OK

Coordinator
Nov 19, 2016 at 11:00 AM
Hello,

thank you for using NodeXL!

As the error suggests, your computer ran out of memory while rendering the graph. There are somethings which you can try:
  1. Try rendering a smaller graph.
  2. Try using Office 64-bit (your system and Windows must be 64-bit too) so it can use all the available RAM.
  3. Try adding more memory to your PC (4GB is enough to handle very small networks, 8GB for medium networks, 16GB or 32GB is recommended for very large networks (100K edges and above).)
Regards,
Arber
Marked as answer by arber on 11/19/2016 at 4:01 AM