Re: [Yade-users] [Question #704114]: Simulation abnormal stop with “terminate called after throwing an instance of 'std::bad_alloc'”

2022-12-26 Thread Gao Xiang
Question #704114 on Yade changed:
https://answers.launchpad.net/yade/+question/704114

Gao Xiang posted a new comment:
I was trying again, and more specifically, once "recordMoments=True",
the problem happended.

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #704114]: Simulation abnormal stop with “terminate called after throwing an instance of 'std::bad_alloc'”

2022-12-22 Thread Gao Xiang
Question #704114 on Yade changed:
https://answers.launchpad.net/yade/+question/704114

Gao Xiang gave more information on the question:
Thanks for your reply, I'm sorry that I didn't express my meaning clearly, and 
I had used "top"  in terminal of ubuintu 18.04 to monitor the memory
> "Maybe that is because memory is exhausted" 
What I want to say is that maybe there some bugs in code will block simulation 
and continuously increase memory usage.

Now I may have located the problem, that is 
>Law2_ScGeom_JCFpmPhys_JointedCohesiveFrictionalPM(cracksFileExist=True, 
>smoothJoint=False,
   
label='interactionLaw', neverErase=True, recordCracks=True,
   recordMoments=True)

If I set the cracksFileExist, recordCracks, recordMoments=True, the
problem will occur, while I set them to False, the simulation will work
well.

Though I find a similar question 295520[1], they seems to be  different, so I 
still want to know how to solve the problem completely
[1]https://answers.launchpad.net/yade/+question/295520

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #704114]: Simulation abnormal stop with “terminate called after throwing an instance of 'std::bad_alloc'”

2022-12-19 Thread Jérôme Duriez
Question #704114 on Yade changed:
https://answers.launchpad.net/yade/+question/704114

Jérôme Duriez posted a new comment:
> Maybe that is because memory is exhausted

Looking at htop output in your terminal would be an easy way to check this 
point, if you can afford human live control. If you can not, you can also 
measure it from Python, see e.g. that ramFP() function at 
https://gitlab.com/jduriez/lsYade/-/blob/master/examples/levelSet/ramFP.py

(should land someday on https://gitlab.com/yade-
dev/trunk/-/tree/master/examples/levelSet..)

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #704114]: Simulation abnormal stop with “terminate called after throwing an instance of 'std::bad_alloc'”

2022-12-15 Thread printerwall
Question #704114 on Yade changed:
https://answers.launchpad.net/yade/+question/704114

printerwall posted a new comment:
An attempt was made in this study to construct an electrocardiogram (ECG) and 
photoplethysmogram (PPG) based telemedicine system for rural health care. 
According to a survey performed by the Indian Medical Society in 2009, just 2% 
of certified doctors in India practise in rural regions.
https://printerwall.com/what-is-sublimation-paper-its-uses-and-types/

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp