[GHC] #13389: Strange behaviours of memory with GHCi under Windows and Linux

#13389: Strange behaviours of memory with GHCi under Windows and Linux -------------------------------------+------------------------------------- Reporter: vanto | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 8.0.2 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: Other Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- With Windows : Initially the memory in the computer is at 34% use. I open 30 consoles Windows of GHCi. The memory grows until 70% use. I decided to crash a console with this function {{{ f x = x**6 + f x }}} Suddenly the % of memory fall to around 35%. Then I decided to open 30 others consoles Windows GHCi. The memory grows to 83% use. I crashed a console with the same function and the memory fall to 41%. Then I looked at the task manager and I see 29 process of GHC had a memory between 444K and 356K, and 30 process of GHC had a memory between 34704K and 20160K. I decided to made a crash dump file with a process of GHC with 440K of memory. When the crash dump file begin, the memory of the process grows to 80376K and stay until the dump file stop to write. With Linux : I repeted the same behaviour. Initially the memry had 29% use. After the crash of GHCi the memory fall to 8% use. I looked at the task manager and somes process of GHC had 40Kio and others 8192o. I decided to stop (not to kill) a process of GHC and then to continue it. After that the memory of the process grows to 75Mio.\\ Hope this help! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13389 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC