This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-09-15
Channels
- # aleph (14)
- # aws (5)
- # beginners (144)
- # bitcoin (1)
- # boot (14)
- # chestnut (13)
- # cljs-dev (58)
- # cljs-experience (1)
- # cljsrn (47)
- # clojure (107)
- # clojure-dev (9)
- # clojure-finland (12)
- # clojure-gamedev (4)
- # clojure-russia (2)
- # clojure-sanfrancisco (1)
- # clojure-spec (5)
- # clojure-uk (28)
- # clojurescript (34)
- # cursive (9)
- # datomic (3)
- # emacs (11)
- # garden (16)
- # graphql (9)
- # hoplon (3)
- # jobs (2)
- # juxt (6)
- # off-topic (32)
- # om (10)
- # onyx (1)
- # pedestal (4)
- # proton (1)
- # re-frame (14)
- # reagent (8)
- # ring (1)
- # ring-swagger (34)
- # shadow-cljs (19)
- # sioux-falls (1)
- # spacemacs (16)
- # testing (14)
@alexkeyes if your screen is going gray that suggests the computer memory is being used up and lots of swapping in memory happening. If you are pushing lots of data into the memory via the REPL then perhaps Java virtual machine is eating all your resources.
Hm yeah okay that makes sense - there's a lot of background services that are running that are heavy duty, like rabbitmq and elasticsearch
Are you processing the .csv line by line? or do you need to compare the current line against everything else you’ve seen so far? If it’s line by line, you might want to look at writing it to a file without holding onto it in memory. But I’d check mem usage first so you know if that’s actually what’s going on.
@eggsyntax sorry dude I didn’t see you sent me a message. I am just going to take the first line from the .csv parsing function because it returns a lazy seq - it was easier to do that rather than have to dig through the whole wall of text everytime
yeah they really do. does anyone know if there is a way to automatically hide text that goes over a certain amount of columns or lines?
The REPL should automatically do that if it's a single data structure -- I assume it's not in your case. Multiple data structures -- not that I know of. Except to not return them at the top level in the 1st place. eg don't do (my-fn-that-returns-a-zillion-things)
, but rather do (def r (my-fn-that-returns-a-zillion-things))
Oh, but...a single list of maps, huh? I'm surprised, if you're calling it from the REPL it should limit the # of members of the list that it shows.
hm I’m still not 100% on what symbols mean what in Clojure so it might be something else BUT I think that’s what it is
I may be imagining your situation wrong. If you want to post or PM me the details of what you're doing, I can maybe identify where that's going awry.