• About
  • License

Jorge Code

~ Viewpoint of a programmer, Java, Ubuntu, etc.

Jorge Code

Author Archives: Jorge

Image

We moved !!!

11 Tuesday Oct 2016

moved-website

Advertisement

Posted by Jorge | Filed under News

≈ Leave a comment

How to Install Oracle Java 9 in Ubuntu

22 Wednesday Jun 2016

Posted by Jorge in Basic, Java, Ubuntu

≈ Leave a comment

JavaIn previous post I showed you how to install Oracle Java 8 and 7 but, come on! Oracle Java 9 it’s here and It’s stable in Ubuntu!.

This is the new and easy procedure!

Continue reading →

Predictions for Java 20

09 Thursday Jun 2016

Posted by Jorge in Humor, Java

≈ Leave a comment

java20

Humor pills for programmers!

Continue reading →

Turn off only one of many monitors

08 Wednesday Jun 2016

Posted by Jorge in Tips and tricks, Ubuntu

≈ Leave a comment

Tags

Manual turn off the monitor, many monitors, monitors, Turn off only one monitorof many monitors, Turn off the monitor

Two MonitorsIf you have more than one monitor, you probably might to turn off one of them if it’s simply unnecesary. It’s likely that you simply turn off the monitor pushing the power button, but your computer always put a window, tool rule or message in the monitor off because it don’t have a way to know whether the monitor is off. You surely don’t want to turn off and turn on or plug in and unplug frecuently your data cable to prevent this behavior (it isn’t recommendable).

You can do this simple procedure on Ubuntu systems: Continue reading →

Remotely Control Your Ubuntu PC from an Android Device

01 Wednesday Jun 2016

Posted by Jorge in Android, Tips and tricks, Tips and tricks, Ubuntu

≈ Leave a comment

Tags

android, remote control, ubuntu, VNC

icon_300We can use our Android device (wherever they are) to connect and control your Ubuntu PC as a TV Remote and even more.

Imagine you want to turning down the noisy music but you are in another room of your house, or you left your PC turning on and your wife said to you: “Turn off the PC whether you aren’t using it and even worse you’re resting, cold or trying to sleep”.
Maybe your forget to ran something or cancel something in your PC.

That do you think if you can do this activities just using your android device wherever you are?. Continue reading →

The man who invented the Email, Ray Tomlinson passes away

14 Monday Mar 2016

Posted by Jorge in News

≈ Leave a comment

Tags

died, email, inventor

ray-tomlinson-colorRay Tomlinson, inventor of the email system, this technology pioneer has died of heart attack last March 5, at the age 74. His passing was confirmed by Mike Doble, director of corporate PR at Tomlinson’s employer Raytheon.
Continue reading →

CuaimaCrypt, a Strong Cryptographic Alternative

17 Wednesday Feb 2016

Posted by Jorge in Advanced, Android, Java, News, Ubuntu

≈ Leave a comment

Tags

Cryptography, CuaimaCrypt, Secure file, Strong Cryptography

cuaimaCryptI think CuaimaCrypt is one of best cypher ever designed because it have such a strong algorithm that can resist an quantum computer attacks.

For this reason, I’m currently working to supporting this project; consequently, I share this link with you in order to explain what I’m refer to.

convert-icon

Go to Bolivartech article: CuaimaCrypt, a Strong Cryptographic Alternative

 

Jorge Fernandes is Bachelor in Computer Science experienced in telecommunications, security, banking and programmer since 1984. He works in Valhala Networks focused on high-level decisions about scientific and technological policies and strategies of projects oriented to develop web and standalone applications, as well as smart solutions at mobiles. He always oriented to produce innovator products.

java.lang.OutOfMemoryError and X options

03 Wednesday Feb 2016

Posted by Jorge in Advanced, Java

≈ 1 Comment

Tags

java.lang.OutOfMemoryError, memory allocation, X options, Xms, Xmx

memoryOne common indication of a memory leak is the java.lang.OutOfMemoryError exception. Usually, this error is thrown when there is insufficient space to allocate an object in the Java heap and the garbage collector cannot make space to accommodate a new object, and the heap cannot be expanded further. Also, this error may be thrown when there is insufficient native memory to support the loading of a Java class.

If the java.lang.OutOfMemoryError is due to heap problem, a common solution to this error can be manage the memory allocation pool manually for a Java Virtual Machine by using x options previous to run you application.

The flag Xmx specifies the maximum memory allocation pool for a Java Virtual Machine (JVM), while Xms specifies the initial memory allocation pool.

This means that your JVM will be started with Xms amount of memory and will be able to use a maximum of Xmx amount of memory. For example, starting a JVM like below will start it with 128MB of memory, and will allow the process to use up to 1024MB of memory:

java -Xms128m -Xmx1024m

The memory flag can also be specified in multiple size units, such as kilobytes, megabytes, and so on.

-Xms1024k
-Xmx1024m
-Xmx2g

The default value of Xmx will depends on platform and amount of memory available in the system.

When using these settings, keep in mind that these settings are for the JVM’s heap, and that the JVM can/will use more memory than just the size allocated to the heap. From Oracle’s Documentation:

Note that the JVM uses more memory than just the heap. For example Java methods, thread stacks and native handles are allocated in memory separate from the heap, as well as JVM internal data structures.

Notice: The -X options are subject to change without notice.

 

Jorge Fernandes is Bachelor in Computer Science experienced in telecommunications, security, banking and programmer since 1984. He works in Valhala Networks focused on high-level decisions about scientific and technological policies and strategies of projects oriented to develop web and standalone applications, as well as smart solutions at mobiles. He always oriented to produce innovator products.

Featured

Posted by Jorge in News

≈ Comments Off on

subscribe

Subscribe to our mailing list or follow us to get the updates by filling your mail in the web page.

NSA Director says “Encryption is foundational to the future”

25 Monday Jan 2016

Posted by Jorge in News

≈ Leave a comment

Tags

encription, hack, mike rogers, NSA, Office of Personnel Management

mike-rogersSpeaking to the Atlantic Council, a Washington, D.C., National Security Agency (NSA) Director Adm. Mike Rogers stressed that the cybersecurity battles the U.S. is destined to fight call for more widespread use of encryption, not less. “What you saw at OPM, you’re going to see a whole lot more of,” he said, referring to the massive hack of the Office of Personnel Management involving the personal data about 20 million people who have gotten background checks.

Watch Rogers’ talk here…

Continue reading →

← Older posts

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 680 other subscribers
Follow Jorge Code on WordPress.com

Categories

  • Android (6)
    • Tips and tricks (4)
  • Humor (1)
  • Java (10)
    • Advanced (2)
    • Basic (5)
    • Intermediate (2)
  • JavaScript (4)
  • News (8)
  • Sin categoría (1)
  • Ubuntu (9)
    • Tips and tricks (4)

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.com

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 680 other subscribers
Follow Jorge Code on WordPress.com

Blog at WordPress.com.

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • Jorge Code
    • Already have a WordPress.com account? Log in now.
    • Jorge Code
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...