/dev/chat

General discussion for unix.stackexchange.com. If you have a q...
Aug 23, 2024 03:35
0
Q: grep command fails with out-of-memeory error

αғsнιηI encountered into an OOM issue (this happens every-time I execute it) on running grep -Fvf file1 file2 file1 size: ~200Mb file2 size: ~300Mb number of records in each file: ~300K avg records length: ~1K (only ASCII characters) diff between two files is ~18K records Available free memory: ~16Gb ...

Aug 23, 2024 03:35
@JeffSchaller asked a question.
Aug 23, 2024 03:18
@JeffSchaller not accidentally, I ran in VM and physical machines several times and every time it’s killed by OOM error.
Aug 22, 2024 16:08
I tested with 3 different versions of grep and all failing with OOM
Aug 22, 2024 16:07
content of both files are English ASCII characters
Aug 22, 2024 16:04
I have ~16Gb free memory
Aug 22, 2024 16:04
my command is grep -Fvf file1 file2
Aug 22, 2024 16:03
do you think it’s normal that I'm facing OOM fault for comparing two small sized files (~200Mb and ~400Mb) each containing about 300K rows and length of every row ~1K characters
Aug 22, 2024 16:00
Hi
Jun 18, 2022 09:19
@αғsнιη same type of questions (no efforts show up in the question) with awk tags gets downvotes but some other questions gets up votes 🤕
Jun 18, 2022 09:17
1
Q: How to combine JSON objects with the same key, using jq

Stephanie LageI have the following snippet exported as JSON: { "daisy": { "dev": { "app_url": "example.com", "owner": "bob", "createat": "2022-06-17T15:31:58Z", } } } { "daisy": { "dev": { "appname": "daisy", "flavor": [ "nodejs" ], "file": "m...

Jun 18, 2022 09:17
: (
Jun 18, 2022 09:16
very upset
Jan 19, 2022 17:27
0
Q: remove "learning" tag

αғsнιηWe have the "learning" tag which 5 questions now tagged with this, however as I checked none of these questions are suitable to https://unix.stackexchange.com when knowing that asking for learning materials is off-topic; Can we request for deletion of this learning tag alongside deleting those qu...

Jan 19, 2022 17:11
https://unix.stackexchange.com/q/124369
https://unix.stackexchange.com/q/147713
https://unix.stackexchange.com/q/405
https://unix.stackexchange.com/q/34471
https://unix.stackexchange.com/q/166689
Jan 19, 2022 17:11
@terdon these are remaining questions with learning tag, which I believe those can be deleted as none of them suitable to stay in our site
Jan 19, 2022 15:37
there are 6 questions remained with just having "learning" tag, and there is really nothing to substitute them with another tag other than deleting the questions altogether
Jan 19, 2022 15:36
@terdon you can help us in this way too : )
Jan 19, 2022 15:36
thanks @StephenKitt; I voted some questions for deletion too, and some require one more deletion vote to delete entirely
Jan 19, 2022 15:06
the tag is created by the community; can you [mods] delete it?
Jan 19, 2022 15:03
then we close the request for the learning type questions!
Jan 19, 2022 15:02
we have tag!!
Jan 9, 2022 08:19
@JeffSchaller thanks and you are welcome!
Jan 9, 2022 02:23
@JeffSchaller Hi, removed but I know you will see them
Nov 16, 2021 15:00
😂 😂 😂
Nov 16, 2021 14:58
@JeffSchaller you ate a very problematic cake
Nov 16, 2021 14:35
@JeffSchaller how did you eat without parsing it properly first. :D
Nov 16, 2021 14:34
or as pointed a missing space is also applicable for this tag too
Nov 16, 2021 14:33
@terdon same for <localecode> tag which is closed with <locale> 😁
Oct 7, 2021 10:05
: )
Oct 7, 2021 09:51
I'm sorry
Oct 7, 2021 09:50
sorry about my edit on your answer, it was incomplete so I rolled back
Oct 7, 2021 09:50
@terdon Hi
Oct 5, 2021 17:52
Is virtualbox.org really down?
Sep 18, 2021 11:31
14
Q: Do shells other than Bash and Zsh support ANSI-C quoting? e.g. $'string'

ivanI have a shell script that uses the following to print a green checkmark in its output: col_green="\e[32;01m" col_reset="\e[39;49;00m" echo -e "Done ${col_green}✓${col_reset}" After reading about Bash's ANSI-C Quoting, I realized I could use it when setting my color variables and remove the -...

Sep 18, 2021 11:31
ahh, never mind, I found it
Sep 18, 2021 11:29
which shell does support C style escaping characters? like in bash $'\n'?
Sep 18, 2021 11:28
one quick question please
Sep 18, 2021 11:28
Hi
Sep 13, 2021 17:49
😁
Sep 13, 2021 17:44
yes/no
Sep 13, 2021 17:44
@jesse_b :| are you a robot? :D
Sep 13, 2021 17:15
@JeffSchaller : )
Sep 13, 2021 17:14
@jesse_b what do you know about me then? :D
Sep 13, 2021 17:13
@jesse_b ahhh, you seems know all about users here?
Sep 13, 2021 17:12
@JeffSchaller hmm, I was not thinking that should be you, because from my thinking a computer person is not looks like a sport person : )
Sep 13, 2021 17:11
@JeffSchaller :D
Sep 13, 2021 17:02
that's you, yourself?
Sep 13, 2021 17:01
@JeffSchaller hmm, I see it went more terrible now :D
Sep 13, 2021 16:59
@terdon your next goal is now 300K! : )