agrignard / ReChamp

Project for the Champs Elysées project
1 stars 3 forks source link

PRIORITY BUG: BIG MEMORY LEAKKKKKKKKK #62

Closed agrignard closed 4 years ago

agrignard commented 4 years ago

Bon ca fait bien chier d'ecrire ce bug alors que je pensais repartir des states avec une simualtion terminée, on en est loin loin et en prime ca part total en couille en mémoire...

voici ce que j'ai au bout de 130 000 iterations (genre à peine 3-4h de simu...) 4G DE RAM!!!!

Screen Shot 2020-01-26 at 14 21 04
agrignard commented 4 years ago

A priroi fixé dans https://github.com/agrignard/ReChamp/commit/38d5a08639733cc4961a48ccbeccf85eea101321

AlexisDrogoul commented 4 years ago

Have you checked what happens if you remove all visualizations? Just to make sure what part causes this.

Le lun. 27 janv. 2020 à 02:25, Arnaud Grignard notifications@github.com a écrit :

Bon ca fait bien chier d'ecrire ce bug alors que je pensais repartir des states avec une simualtion terminées, on en est loin loin et en prime ca part total en couille en mémoire...

voici ce que j'ai au bout de 130 000 iterations (genre à peine 3-4h de simu...) 4G DE RAM!!!!

[image: Screen Shot 2020-01-26 at 14 21 04] https://user-images.githubusercontent.com/3928502/73140474-3ee0d880-4047-11ea-81cd-63490b25743d.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/agrignard/ReChamp/issues/62?email_source=notifications&email_token=AAENNOFU3EFFJAH5WDEDQPDQ7XPSDA5CNFSM4KLYWVF2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IIY2NRA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAENNODQUDBHLZYWHVSUGU3Q7XPSDANCNFSM4KLYWVFQ .

-- Representative of IRD in Vietnam and Philippines http://en.vietnam.ird.fr Senior Researcher, Deputy Director, UMI UMMISCO 209, IRD & UPMC, France. http://ummisco.fr Lead architect, GAMA Platform, http://gama-platform.org — alexis.drogoul@ird.fr | http://goo.gl/4ewFdJ [Vietnam]+84944455180 [France]+33608698845 [Address]Appt. 103, Bldg 2G, Van Phuc Diplomatic Compound, 298 Kim Ma, Ba Dinh, Hanoi

agrignard commented 4 years ago

It should be fixed with the use_cache set to false on the graph

agrignard commented 4 years ago

Est ce que on a tjs besoin de ça

    reflex memory_management when: every(100 #cycle) {
        ask experiment {do compact_memory;}
    }

Ca met la simu en pause visuellement

ptaillandier commented 4 years ago

Je pense pas ou alors met le tous les 10000 pas de temps

Le lun. 27 janv. 2020 à 23:25, Arnaud Grignard notifications@github.com a écrit :

Est ce que on a tjs besoin de ça

reflex memory_management when: every(100 #cycle) {

  ask experiment {do compact_memory;}

}

Ca mets la pause en pause visuellement

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/agrignard/ReChamp/issues/62?email_source=notifications&email_token=AALPWHPAQKHRAMPLOENAU23Q75NPJA5CNFSM4KLYWVF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKBJYRY#issuecomment-578985031, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALPWHNTRWO7OVW4MIS4IA3Q75NPJANCNFSM4KLYWVFQ .