ChanServ changed the topic of #crystal-lang to: The Crystal programming language | https://crystal-lang.org | Fund Crystal's development: https://crystal-lang.org/sponsors | GH: https://github.com/crystal-lang/crystal | Docs: https://crystal-lang.org/docs | Gitter: https://gitter.im/crystal-lang/crystal
Chillfox has joined #crystal-lang
<jeremyc> riza: thank you. I see it's not fully capable, but it is working, giving function help, completion, error reporting... thanks!
hightower2 has quit [Remote host closed the connection]
hightower2 has joined #crystal-lang
Vexatos_ has joined #crystal-lang
adam12 has quit [*.net *.split]
Vexatos has quit [*.net *.split]
adam12 has joined #crystal-lang
ur5us has quit [Ping timeout: 260 seconds]
Chillfox has quit [Quit: Leaving]
richbridger has quit [Ping timeout: 268 seconds]
richbridger has joined #crystal-lang
rymiel has joined #crystal-lang
fifr[m] has quit [Quit: Bridge terminating on SIGTERM]
repo[m] has quit [Quit: Bridge terminating on SIGTERM]
jhass[m] has quit [Quit: Bridge terminating on SIGTERM]
petoem has quit [Quit: Bridge terminating on SIGTERM]
olbat[m] has quit [Quit: Bridge terminating on SIGTERM]
jhass[m] has joined #crystal-lang
fifr[m] has joined #crystal-lang
olbat[m] has joined #crystal-lang
repo[m] has joined #crystal-lang
petoem has joined #crystal-lang
hightower3 has joined #crystal-lang
hightower2 has quit [Ping timeout: 250 seconds]
olbat[m] has quit [Quit: Client limit exceeded: 20000]
jhass[m] has quit [Quit: Client limit exceeded: 20000]
fifr[m] has quit [Quit: Client limit exceeded: 20000]
repo[m] has quit [Quit: Client limit exceeded: 20000]
sagax has quit [Quit: Konversation terminated!]
jeremyc has left #crystal-lang [#crystal-lang]
hightower3 has quit [Ping timeout: 265 seconds]
yxhuvud has quit [Read error: Connection reset by peer]
yxhuvud has joined #crystal-lang
notzmv has quit [Ping timeout: 260 seconds]
notzmv has joined #crystal-lang
ur5us has joined #crystal-lang
ur5us has quit [Remote host closed the connection]
ur5us has joined #crystal-lang
<FromGitter> <am_spir_twitter> Hi! I'm getting the following error when trying to build hash from 8 Gb large CSV file: "Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS" . How I can solve that? already tried setting GC_MAXIMUM_HEAP_SIZE=60G - did not help. Please, advice
jhass[m] has joined #crystal-lang
fifr[m] has joined #crystal-lang
repo[m] has joined #crystal-lang
olbat[m] has joined #crystal-lang
<FromGitter> <am_spir_twitter> hash defined as `data = Hash(String, UInt64).new(0)`
<FromGitter> <Blacksmoke16> if you have an idea of how many items it'll contain you should provide that when creating it
<FromGitter> <Blacksmoke16> i.e. `.new 0, 1_000` or whatever
<FromGitter> <Blacksmoke16> that would allow it to do 1 allocation versus more and more as it grows
<FromGitter> <am_spir_twitter> let me try that...
<FromGitter> <am_spir_twitter> tried as `data = Hash(String, UInt64).new(0, 172638492)` but immediately got `Unhandled exception: Arithmetic overflow (OverflowError)`
<FromGitter> <am_spir_twitter> seems like there is a limit
hightower2 has joined #crystal-lang
<FromGitter> <Blacksmoke16> int32 yea
<FromGitter> <Blacksmoke16> kinda related to https://github.com/crystal-lang/crystal/issues/4011
<yxhuvud> Might be worth filing an issue to get a clearer error message
<FromGitter> <am_spir_twitter> wierd, but getting overflow when using `.new(0, 2147483647)`
<FromGitter> <am_spir_twitter> ah. it happens in another place: '/usr/share/crystal/src/char/reader.cr:253:36 in '__crystal_main' , previous one was in '/usr/share/crystal/src/pointer.cr:437:13 in '__crystal_main'
<FromGitter> <am_spir_twitter> I tried with `(1<<30)` as capacity last time
<FromGitter> <am_spir_twitter> seems like I'm still trying to put more items than a hash can have
<FromGitter> <am_spir_twitter> ok. it's time to use some DB I guess. Thank you for advices!
ur5us has quit [Ping timeout: 264 seconds]
Jose_ has joined #crystal-lang
ur5us has joined #crystal-lang
ur5us has quit [Ping timeout: 245 seconds]
ur5us has joined #crystal-lang
hightower2 has quit [Ping timeout: 245 seconds]
ur5us has quit [Ping timeout: 245 seconds]