{"action":"created","issue":{"url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/issues/940","repository_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit","labels_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/issues/940/labels{/name}","comments_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/issues/940/comments","events_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/issues/940/events","html_url":"https://github.com/helix-toolkit/helix-toolkit/issues/940","id":359630892,"node_id":"MDU6SXNzdWUzNTk2MzA4OTI=","number":940,"title":"System.OutofMemory exception when creating Model from Point Cloud","user":{"login":"bVess12","id":43218369,"node_id":"MDQ6VXNlcjQzMjE4MzY5","avatar_url":"https://avatars0.githubusercontent.com/u/43218369?v=4","gravatar_id":"","url":"https://api.github.com/users/bVess12","html_url":"https://github.com/bVess12","followers_url":"https://api.github.com/users/bVess12/followers","following_url":"https://api.github.com/users/bVess12/following{/other_user}","gists_url":"https://api.github.com/users/bVess12/gists{/gist_id}","starred_url":"https://api.github.com/users/bVess12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bVess12/subscriptions","organizations_url":"https://api.github.com/users/bVess12/orgs","repos_url":"https://api.github.com/users/bVess12/repos","events_url":"https://api.github.com/users/bVess12/events{/privacy}","received_events_url":"https://api.github.com/users/bVess12/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-09-12T20:02:14Z","updated_at":"2018-09-13T01:04:22Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nI'm trying to use helixtoolkit WPF SharpDx to visualize a large point cloud. I am currently using the MeshBuilder to create a MeshGeometry3D from my ordered points.  When loading a model this way of about 500,000 points, the viewer is constantly using around ~400MB of memory, and when replacing the model with another, the amount of used memory increases. I am unable to get the viewer to release the used memory.  Loading in a model of ~1,000,000 points will result in an OutOfMemory exception, and this will occur after repeatedly loading in smaller models.\r\n\r\nI am currently iterating through a 2D array of Vector3s, and creating quads to add to the Meshbuilder, before using the MeshBuilder to create a MeshGeometry3D.\r\n\r\nMy questions are:\r\n  1.  What is the proper way to create geometry from a point cloud?\r\n   2. What is the proper way to clear the used memory of the viewport?\r\n"},"comment":{"url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/issues/comments/420847919","html_url":"https://github.com/helix-toolkit/helix-toolkit/issues/940#issuecomment-420847919","issue_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/issues/940","id":420847919,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDg0NzkxOQ==","user":{"login":"holance","id":905577,"node_id":"MDQ6VXNlcjkwNTU3Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/905577?v=4","gravatar_id":"","url":"https://api.github.com/users/holance","html_url":"https://github.com/holance","followers_url":"https://api.github.com/users/holance/followers","following_url":"https://api.github.com/users/holance/following{/other_user}","gists_url":"https://api.github.com/users/holance/gists{/gist_id}","starred_url":"https://api.github.com/users/holance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holance/subscriptions","organizations_url":"https://api.github.com/users/holance/orgs","repos_url":"https://api.github.com/users/holance/repos","events_url":"https://api.github.com/users/holance/events{/privacy}","received_events_url":"https://api.github.com/users/holance/received_events","type":"User","site_admin":false},"created_at":"2018-09-13T01:04:22Z","updated_at":"2018-09-13T01:04:22Z","author_association":"MEMBER","body":"Could you provide a simple demo program for your point cloud?"}}
{"actor":{"display_login":"holance"}}