This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> | |
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.12/css/dataTables.bootstrap.min.css"> | |
<link rel="stylesheet" href="https://cdn.datatables.net/responsive/2.1.0/css/responsive.bootstrap.min.css"> | |
<script type="text/javascript" src=" https://code.jquery.com/jquery-1.12.3.min.js"></script> | |
<script type="text/javascript" src="https://cdn.datatables.net/1.10.12/js/jquery.dataTables.min.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {inject, bindable} from 'aurelia-framework'; | |
import {HttpClient} from 'aurelia-fetch-client'; | |
import 'fetch'; | |
@inject(HttpClient) | |
export class Doc{ | |
@bindable designGroupData = '' | |
constructor(http) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##### Heap utilization statistics [MB] ##### | |
Used Memory:158 | |
Free Memory:246 | |
Total Memory:405 | |
Max Memory:455 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int mb = 1024*1024; | |
//Getting the runtime reference from system | |
Runtime runtime = Runtime.getRuntime(); | |
System.out.println("##### Heap utilization statistics [MB] #####"); | |
//Print used memory | |
System.out.println("Used Memory:" | |
+ (runtime.totalMemory() - runtime.freeMemory()) / mb); |