zincman320 Posted November 18, 2013 Share Posted November 18, 2013 When I run the following code on google chrome I run out of memory (8 GB) and the tab crashes. I don't have this problem on IE 11.var bounds = 1000;var starfield = new BABYLON.ParticleSystem("starfield", 2000, scene);starfield.particleTexture = new BABYLON.Texture("/images/star.png", scene);starfield.minSize = 0.8;starfield.maxSize = 1.0;starfield.minLifeTime = 1.0;starfield.maxLifeTime = 2.0;starfield.minEmitPower = 4.0;starfield.maxEmitPower = 4.0;starfield.emitRate = 2000;starfield.blendMode = BABYLON.ParticleSystem.BLENDMODE_ONEONE;starfield.minEmitBox = new BABYLON.Vector3((-1) * bounds, 0, (-1) * bounds);starfield.maxEmitBox = new BABYLON.Vector3(bounds, 0, bounds);starfield.direction1 = new BABYLON.Vector3(0, 0, 0);starfield.direction2 = new BABYLON.Vector3(0, 0, 0);starfield.emitter = new BABYLON.Vector3(0, -5, 0);starfield.disposeOnStop = true;starfield.start();I know this is the code causing the crash because when I comment it out memory usage stays level. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted November 18, 2013 Share Posted November 18, 2013 Could you share it on a webserver so we can have a look? Quote Link to comment Share on other sites More sharing options...
zincman320 Posted November 18, 2013 Author Share Posted November 18, 2013 This is the link: http://ec2-54-201-40-132.us-west-2.compute.amazonaws.com:8080/Click single player and the memory usage goes up until it crashes. UPDATE: This only happens on one of my computers so I'm thinking it's a problem with my card? This wouldn't explain why it works on IE 11 though. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted November 18, 2013 Share Posted November 18, 2013 I do not have issue on my side It should be linked to your drivers I'm afraid Quote Link to comment Share on other sites More sharing options...
zincman320 Posted November 18, 2013 Author Share Posted November 18, 2013 Oh well, as long as it's just one computer I'm okay with that. Thanks for verifying. Quote Link to comment Share on other sites More sharing options...
zincman320 Posted November 18, 2013 Author Share Posted November 18, 2013 I've tested this on 3 different computers and it is giving this error. Only on chrome though. Firefox, opera, and IE 11 work fine. Not an issue with babylon.js Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.