If you encounter OOM online, how to solve it?

OOM means that there are vulnerabilities in the program, which may be caused by code or JVM parameter configuration. This article talks to readers about how to check after a Java process triggers OOM It is often said that maintaining awe of the production environment and solving problems quickly is also an expression of awe Why OOM? The ...

Posted by salmanshafiq on Mon, 10 Jan 2022 12:36:19 +0100

Detailed explanation of the status of ThreadPoolExecutor series

State definition Thread pool ThreadPoolExecutor has two properties: running state and number of threads. The number of threads is easy to understand, that is, how many threads are in the pool; There are five operating states, namely RUNNING: In operation, Is the initial state, that is, the thread pool just created is in this state. SHUTDOWN: ...

Posted by alexcrosson on Sat, 08 Jan 2022 13:24:49 +0100

Not familiar with POI, want to simply implement Excel operation? Just use EasyPoi

In our daily work, we often encounter the function of operating Excel, such as exporting an Excel report of user information or order information. You must have heard of POI, which can be realized. But the API implemented by POI is really troublesome. It needs to write line by line parsing code (similar to Xml parsing). Today, I recommend a ver ...

Posted by MaTT on Sat, 08 Jan 2022 09:20:40 +0100

How good is AI minesweeping? Other countries have come to seek teachers to learn skills (with a complete course)

Above hello everyone! I'm classmate pear! I hope you can support me! ha-ha To thank everyone who cares about me: ๐Ÿ’“ The project source code of each article is shared free of charge ๐Ÿ’“ See the end of the text! Many functions of csdn are still under research, and it's no wonder that Xiaobian's writing is not good. He will slowly improve ...

Posted by dc_jt on Sat, 08 Jan 2022 03:19:27 +0100

Gao fushuai of the unit test community, what about the Pytest framework, use case marking and test execution

โ™ฅ preface In the introduction of the last article, we introduced the pre and post methods and fixture mechanism of pytest. This chapter mainly introduces the marking mechanism and use case execution method in pytest. Pytest can pass the data into the test function through the tag, or filter the executed use cases through the tag, and ...

Posted by CKPD on Fri, 07 Jan 2022 13:29:56 +0100

Today, let's talk about the use of asynchrony in python automated testing

Asynchronous has been used in the project for a long time. For example, the web framework fastapi supports asynchronous writing. However, I only learned the writing method of "async/await", but can this writing method really make your program faster? Asynchronous concept synchronization asynchronous Synchronous VS asynchro ...

Posted by binarymonkey on Fri, 07 Jan 2022 09:20:53 +0100

Is Java parameter passing by value or by reference?

preface First of all, it is clear that method parameters in Java are passed by value. For basic types (int a, long b), values are passed when parameters are passed. For example, if int a = 5, 5 is passed. If it is a reference type, pass the address value pointing to the memory address of the specific object, such as system out. Println (New ob ...

Posted by azhan on Thu, 06 Jan 2022 07:24:08 +0100

These 25 Vue tips you need to know

1. Limit prop to type list Using the {validator} option in the prop definition, you can limit prop to a specific set of values: export default { name: 'Image', props: { src: { type: String, }, style: { type: String, validator: s => ['square', 'rounded'].includes(s) } } }; Copy code The validator f ...

Posted by Domcsore on Thu, 06 Jan 2022 01:12:18 +0100

The difference and thinking between headline sub database, sub table and partition. Can you understand MySQL? It's too realistic

This is distributed by the database. The application is transparent. There is no need to modify anything in the code. 2.2 internal documents Go to the data directory first. If you don't know the directory location, you can: Next, look at the internal files: As can be seen from the above figure, there are two types of files frm files and ...

Posted by powerofphp on Thu, 06 Jan 2022 00:51:56 +0100

Java theoretical knowledge thinking map, bye! Pure Java management system

Add the Java configuration class EruptConfig of Erupt, subject to the package of starting MallTinyApplication, and configure the package scanning path; /** * Created by macro on 2021/4/13. */ @Configuration @ComponentScan({"xyz.erupt","com.macro.mall.tiny"}) @EntityScan({"xyz.erupt","com.macro.mall.tiny"}) @EruptScan({"xyz.erupt","c ...

Posted by ganich on Wed, 05 Jan 2022 22:07:49 +0100