Why does Glassfish appear to require much more memory in Linux than in Windows?

I've been tinkering with GlassFish 2.1.1 lately, on both an Ubuntu Linux box as well as a Windows XP one. Looking at the "java" processes representing asadmin, JavaDB server, and the GlassFish app...

Loading a large dictionary using python pickle

I have a full inverted index in form of nested python dictionary. Its structure is : {word : { doc_name : [location_list] } } For example let the dictionary be called index, then for a word "...

Python generated file changes not detected by QFileSystemModel

Using PyQt and Python I came across the following issue: Set up a QFileSystemModel, call setRootPath() and hook up to the dataChanged signal. Open a new file from Python and write some text into...

Debian: dist-upgrade removes gnome and many other stuff

I am (was) running the Debian Sid and faced a major update problem few days ago. It was weekend and I was just going to upgrade stuff, did sudo apt-get update, then sudo apt-get upgrade. Then I...

Unable to install Google App Engine for Php in Ubuntu 15.04

I downloaded the [Google App Engine SDK for PHP][1] but I am having problems with the installation of the PHP interpreter. I downloaded the source code from the link given but when I try to...

Python randomly drops to 0% CPU usage, causing the code to "hang up", when handling large numpy arrays?

I have been running some code, a part of which loads in a large 1D numpy array from a binary file, and then alters the array using the numpy.where() method. Here is an example of the operations...

Fedora 25 Tigervnc displays Black screen

The system is Fedora 25. The issue is vncviewer is displaying a black screen. By comparison the vnc package list is the same as those in a Fedora 24 system where vnc viewer is displaying...

Fedora Gnome sudden high CPU usage

Suddenly my fedora gnome system starts lagging and acts extremely slow, When I open the system monitor, I see that one of the CPU threads is 100% working, but when I go to the processes section,...

Memory usage in MiB/KiB by PID

I need command to get process memory usage in MiB or KiB by PID. I prefer the number I see in gnome-system-monitor in "Memory" column. I tried a lot of different commands but all of them give me...

Measurement of a c++ app's maximum memory usage (stack and heap) with valgrind's massif

I'm currently developing a C++ app on an Ubuntu 16.04 virtual machine. I need to measure the total memory usage of the app (stack and heap) in order to find out its maximum value range. Since I'm...

Python IDLE doesn't free RAM in Linux

Python 2.7 wxPython 3.0. numpy 1.9 I have been running an application that on Windows machine takes 36K RAM, and this is how much I would expect. I have a big array of data stored in RAM. However,...

Bash, syntax error near unexpected token `done'

I tried dos2unix... didn't solve the error I tried using single quotes or no quotes wherever possible instead of double quotes... didn't solve the error I removed all the indentation, tab,...

Crashing When knitting R Markdown under Linux

Ubuntu 16.04 LTS, R Version: 3.4.3, R Studio: Version 1.1.383 I'm playing around and learning R Markdown this afternoon. I am not doing any intensive data analysis. I am knitting my R Markdown...

Group Install "GNOME Desktop"

Puppet Version: 3.8.7 I have been working on building some system monitoring boxes and have ran into an issue when it comes to installing group yum packages. The normal course of installing...

IntelliJ IDEA not able to run as described

I followed installation of IntelliJ IDEA as described in the following session. Install IntelliJ IDEA as a snap package on Linux sudo snap install intellij-idea-community --classic And it says...

Yocto sumo, meta-virtualization with vmdk

I try to build a custom linux distro with yocto sumo, that will include docker. I downloaded yocto core, and added meta-virtualization layer (from sumo branch). I am able to build and run it...

yocto raspberrypi showing default splash instead of raspberrypi splash

I tried to build rpi-basic-image and core-image-base ( rpi-basic-image.bb suggest to build core-image-base because rpi-basic-image is deprecated) for raspberry pi zero wifi. I am able to build and...

What is the maximum effective size of a socket send buffer in Linux?

I'm aware of the net.core.wmem_max parameter to sysctl that controls the maximum socket buffer size that I'm able to request via setsockopt(). However, there seems to be a more fundamental...

Errors: grub-efi-amd64-signed & shim-signed

pI need to fix the following problems I do not have experience in linux, so please possible give me simply explanations and the code to type in command line and fix the problems, please! I checked...

Recover RAID10 lost after reboot

I recently created a Raid10 with four 3TB drives, got everything working, copied all my files over, and the raid became inaccessible after a reboot. I've been doing a bunch of searching on this...

Socket locks up when killing a process ran with elevated permissions on Linux

I've run into an issue I'd like to understand more. I have a C++ application on a Linux machine. Let's call this program1. program1 uses ZeroMQ for IPC communications. I imagine that the ZeroMQ...

Unable to run Autokey Ubuntu 18.04

I am relatively new to Linux/Ubuntu (so please take it easy on me) and I am trying to install Autokey to use the text expansion functionality. I have tried installing it from the instructions on...

getRuntime() results depends on Netbeans version

I am using some lines of code to check whether a particular software program is running on my computer by checking the running processes on my computer. The full code is: public static void...

cannot create temp file for here-document: no space left on device when I use tab

when I use tap for cd, this error come. cannot create temp file for here-document: No spae left on device and below is the df -i results. there are many /dev/loop folders, what is it? and what...

Error 'E514: write error (file system full?)' when editing /dev/ttyUSB0 latency timer

when I try to edit the latency_timer of /dev/ttyUSB0 on my laptop I get an error. Here what I do: $ sudo vim /sys/bus/usb-serial/devices/ttyUSB0/latency_timer When editing 16 to 1 and saving, I...

In X11 (Linux) systems, Qt Widget does not appear on top of parent when QWidget.show() is called soon after the parent's QWidget.show(). Any ideas?

This is a request to see if anyone has found any work-arounds or hacks to prevent the somewhat random placement of X11 Qt windows. These X11 pecularities are discussed at the bottom of this page...

Disk space error on ubuntu while trying to install a program (Lead DBS)

I'm trying to install a program and running into disk error issues. When I run the command ./LeadDBSinstaller.install I get this error: /tmp/mwkPH896/bundle.zip: write error (disk full?). ...

No sound on a fresh Ubuntu 18.04.5 system with Windows 10 dual boot

I've had some trouble with sound for a few weeks already, it just doesn't produce any output on my system. I've tried submitting a bug report, but there is no answer from launchpad, the bug...

Deep Sort uses a lot of CPU

I'm creating a software that reads multiple cameras in different threads with OpenCV and then process them in the main thread using YOLOv4 Tensorflow model. This way my GPU is running on around...

Android build failing during soong bootsrap -- uses all resources and hangs

I'm building AOSP11 and building on Ubuntu 18.04 and early in the build process I get the following error: soong bootstrap failed with: exit status 1 It fails during this...