Comments (3)
I can reproduce this failure pretty reliably on my mac
from julia.
Can you change:
function work(vvec)
x = 0.0
for v in vvec
x += v[1]
GC.safepoint()
end
return x
end
x-ref: #53441
@gbaraldi tested locally and it doesn't seem to be TTSP
from julia.
I see the same behaviour on my home computer (8-core AMD, 16 virtual, 32GB).
I've added the GC.safepoint()
. It then runs a little bit slower, but exhibits the same behaviour. I added a GC.enable_logging()
just before the final loop, and get output like this:
GC: pause 2.47ms. collected 2.212631MB. incr
Heap stats: bytes_mapped 128.03 MB, bytes_resident 125.77 MB,
heap_size 2396.50 MB, heap_target 2857.47 MB, Fragmentation 0.676
parallel: 2.907488 seconds (3.46 k allocations: 763.115 MiB, 0.09% gc time, 0.57% compilation time)
GC: pause 54606.31ms. collected 0.175213MB. incr
Heap stats: bytes_mapped 128.03 MB, bytes_resident 125.77 MB,
heap_size 3159.47 MB, heap_target 4578.44 MB, Fragmentation 0.754
parallel: 57.575935 seconds (9 allocations: 762.940 MiB, 94.84% gc time)
parallel: 2.794884 seconds (9 allocations: 762.940 MiB)
GC: pause 111046.63ms. collected 0.003555MB. incr
Heap stats: bytes_mapped 128.03 MB, bytes_resident 125.77 MB,
heap_size 4685.34 MB, heap_target 6295.01 MB, Fragmentation 0.671
parallel: 113.891304 seconds (9 allocations: 762.940 MiB, 97.50% gc time)
parallel: 2.858441 seconds (9 allocations: 762.940 MiB)
parallel: 2.933410 seconds (9 allocations: 762.940 MiB)
GC: pause 109319.78ms. collected 2288.825127MB. full
Heap stats: bytes_mapped 128.03 MB, bytes_resident 125.77 MB,
heap_size 4685.34 MB, heap_target 6581.12 MB, Fragmentation 0.997
parallel: 112.186802 seconds (9 allocations: 762.940 MiB, 97.44% gc time)
parallel: 2.859512 seconds (9 allocations: 762.940 MiB)
parallel: 2.884207 seconds (9 allocations: 762.940 MiB)
GC: pause 111792.86ms. collected 2670.297150MB. incr
Heap stats: bytes_mapped 128.03 MB, bytes_resident 125.77 MB,
heap_size 4303.84 MB, heap_target 6199.61 MB, Fragmentation 1.085
parallel: 114.707073 seconds (9 allocations: 762.940 MiB, 97.46% gc time)
from julia.
Related Issues (20)
- `@code_llvm` with `debuginfo=:none` does not remove all debug info on Julia 1.11 HOT 4
- Conflation of UInt8 and Int8 in search functions
- `map(f, ::String)` requires `f` to return an `AbstractChar` HOT 4
- Add a concept of memory-backed contiguous collection in Base HOT 9
- Inconsistent behaviour for string `findnext` and `findprev` HOT 1
- Docs/Manual/Constructors/Case Study: Rational - Leads to error in `show` with imaginary values
- Error parsing Cmds that interpolate Cmds HOT 2
- Attempting to access `Vector{Core.Compiler.DomTreeNode} at index [0]` when optimizing a function HOT 2
- PkgId objects change by printing and returning from function HOT 2
- at-kwdef generates incorrect generic constructors for structs with type parameters HOT 3
- Google Developer Groups
- It is now possible to create globals in a different module HOT 12
- implement method dispatch for a union of functions
- Alias analysis sometimes too strict for SubArrays HOT 1
- reintepret reshape of 0-dimensional array HOT 1
- default `dims = ndims(x)` in `eachslice(x; dims = ndims(x))` to make `eachslice` the inverse `stack` HOT 1
- `bytesavailable` wrong when piping input HOT 2
- Binaries for prereleases of patch versions HOT 4
- `GenericIOBuffer` assumes data is stored contiguously in memory
- `Base.operator_associativity(:?)` incorrectly returns `:left`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from julia.